GetWindowText

From SCAR Divi Manual
Revision as of 20:13, 7 August 2012 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function GetWindowText(const Wnd: Hwnd): string;

Availability

SCAR Divi 3.35 > Current

Description

Returns the title/text of a window specified in Wnd. If the given window doesn't exist, an empty string is returned.

Example

begin
  WriteLn(GetWindowText(GetShellWindow));
end.

Output:

Program Manager

See Also