IsWindowValid

From SCAR Divi Manual
Jump to: navigation, search

Definition

function IsWindowValid(const Wnd: Hwnd): Boolean;

Availability

SCAR Divi 3.35 > Current

Description

Returns true if a window given as reference handle Wnd is valid.

Example

begin
  WriteLn(IsWindowValid(GetDesktopWnd));
  WriteLn(IsWindowValid(0));
end.

Output:

1
0