ArrangeIconicWindows

Version 3.0

Syntax

WORD ArrangeIconicWindows(hWnd)

This function arranges all the minimized (iconic) child windows of the window specified by the hWnd parameter.

Parameter Type/Description  

hWnd HWND Identifies the window.  

Return Value

The return value is the height of one row of icons, or zero if there were no icons.

Comments

Applications that maintain their own iconic child windows call this function to arrange icons in a client window. This function also arranges icons on the desktop window, which covers the entire screen. The GetDesktopWindow function retrieves the window handle of the desktop window.

To arrange iconic MDI child windows in an MDI client window, an application sends the WM_MDIICONARRANGE message to the MDI client window.