IsIconic function (winuser.h)

Determines whether the specified window is minimized (iconic).

Syntax

BOOL IsIconic(
  [in] HWND hWnd
);

Parameters

[in] hWnd

Type: HWND

A handle to the window to be tested.

Return value

Type: BOOL

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

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll
API set ext-ms-win-ntuser-window-l1-1-0 (introduced in Windows 8)

See also

Conceptual

IsZoomed

Reference

Windows