IsZoomed Function

The IsZoomed function determines whether a window is maximized.

Syntax

BOOL IsZoomed(      
    HWND hWnd );

Parameters

hWnd
[in] Handle to the window to test.

Return Value

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

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

Function Information

Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systems Windows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.

See Also

Tags :


Community Content

dmex
vb.net syntax
<DllImport("user32.dll", CharSet:=CharSet.Auto, ExactSpelling:=True)> _
Public Shared Function IsZoomed(ByVal hWnd As IntPtr) As Boolean
End Function
Tags :

dmex
C# syntax
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)]
public static extern bool IsZoomed(HandleRef hWnd);
Tags :

Page view tracker