Difference between revisions of "GetWindowText"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetWindowText(const Wnd: Hwnd): string; </source> ==Availability== SCAR Divi 3.35 > Current ==Description== Return...")
(No difference)

Revision as of 20:11, 7 August 2012

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.

See Also