ArrangeIconicWindows

  UINT ArrangeIconicWindows(hwnd)    
  HWND hwnd; /* handle of parent window */

The ArrangeIconicWindows function arranges all the minimized (iconic) child windows of a parent window.

Parameters

hwnd

Identifies the parent window.

Return Value

The return value is the height of one row of icons if the function is successful. Otherwise, it is zero.

Comments

An application that maintains its own minimized child windows can 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.

An application sends the WM_MDIICONARRANGE message to the MDI client window to prompt the client window to arrange its minimized MDI child windows.

See Also

GetDesktopWindow