IsZoomed

Syntax

BOOL IsZoomed(hWnd)

This function determines whether or not a window has been maximized.

Parameter Type/Description  

hWnd HWND Identifies the window.  

Return Value

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