The WindowEx.IsWindowEnabled function determines whether the specified window is enabled for mouse and keyboard input.

boolean WindowEx.IsWindowEnabled(

number hWnd -- handle of window to test
);

Parameters

hWnd

Identifies the window to test.

Return Values

If the window is enabled, the return value is TRUE.
If the window is not enabled, the return value is FALSE.

Remarks

A child window receives input only if it is both enabled and visible.