ArrangeIconicWindows function (winuser.h)

Arranges all the minimized (iconic) child windows of the specified parent window.

Syntax

UINT ArrangeIconicWindows(
  [in] HWND hWnd
);

Parameters

[in] hWnd

Type: HWND

A handle to the parent window.

Return value

Type: UINT

If the function succeeds, the return value is the height of one row of icons.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

An application that maintains its own minimized child windows can use the ArrangeIconicWindows function to arrange icons in a parent window. This function can also arrange icons on the desktop. To retrieve the window handle to the desktop window, use the GetDesktopWindow function.

An application sends the WM_MDIICONARRANGE message to the multiple-document interface (MDI) client window to prompt the client window to arrange its minimized MDI child windows.

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

See also

CloseWindow

Conceptual

GetDesktopWindow

Reference

Windows