The IsWindowEnabled function determines whether the specified window is enabled for mouse and keyboard input.
BOOL IsWindowEnabled(
HWND hWnd |
// handle of window to test |
); |
If the window is enabled, the return value is nonzero.
If the window is not enabled, the return value is zero.
A child window receives input only if it is both enabled and visible.