IsWindowEnabled

2.x

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

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

Parameters

hwnd

Identifies the window.

Return Value

The return value 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.

See Also

IsWindow, IsWindowVisible