Group: Keyboard Input - Library: user32
The IsWindowEnabled function determines whether the specified window is enabled for mouse and keyboard input.
Using the IsWindowEnabled function
BOOL IsWindowEnabled(
HWND hWnd // handle to window
);
DECLARE INTEGER IsWindowEnabled IN user32;
INTEGER hwnd
hWnd [in] Handle to the window to test.
If the window is enabled, the return value is nonzero.