GetWindowText

From SCAR Divi Manual
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