IsZoomed function
Applies to: desktop apps only
Determines whether a window is maximized.
Syntax
BOOL WINAPI IsZoomed( __in HWND hWnd );
Parameters
- hWnd [in]
-
Type: HWND
A handle to the window to be tested.
Return value
Type:
Type: BOOL
If the window is zoomed, the return value is nonzero.
If the window is not zoomed, the return value is zero.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012
IsMaximized
Include <windowsx.h> to use the modern name "IsMaximized" for this function.
- 9/23/2010
- Spencer Putt
C# syntax
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)]
public static extern bool IsZoomed(HandleRef hWnd);
- 4/26/2009
- dmex