IsZoomed

The IsZoomed function determines whether a window is maximized.

BOOL IsZoomed(
  HWND hWnd   // handle to window
);
 

Parameters

hWnd
Handle to the window to test.

Return Values

If the window is zoomed, the return value is nonzero.

If the window is not zoomed, the return value is zero.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.
  Import Library: Use user32.lib.

See Also

Windows Overview, Window Functions, IsIconic