The WindowEx.IsWindow function determines whether the specified window handle identifies an existing window.

boolean WindowEx.IsWindow(

number hWnd --handle of window
);

Parameters

hWnd

Specifies the window handle.

Return Values

If the window handle identifies an existing window, the return value is TRUE.
If the window handle does not identify an existing window, the return value is FALSE.