IsWindowEnabled

Syntax

BOOL IsWindowEnabled(hWnd)

This function specifies whether the specified window is enabled for mouse and keyboard input.

Parameter Type/Description  

hWnd HWND Identifies the window.  

Return Value

The return value specifies whether or not the given window is enabled. It is nonzero if the window is enabled. Otherwise, it is zero.

Comments

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