The IsIconic function determines whether the specified window is minimized (iconic).
BOOL IsIconic(
HWND hWnd |
// handle of window |
); |
If the window is iconic, the return value is nonzero.
If the window is not iconic, the return value is zero.