IsWindowEnabled

  BOOL IsWindowEnabled(hwnd)    
  HWND hwnd; /* handle of window to test */

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

Parameters

hwnd

Identifies the window.

Return Value

The return value is TRUE if the window is enabled. Otherwise, it is FALSE.

Comments

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

See Also

EnableWindow, IsWindowVisible