CWnd::ArrangeIconicWindows

UINT ArrangeIconicWindows( );

Return Value

The height of one row of icons if the function is successful; otherwise 0.

Remarks

Arranges all the minimized (iconic) child windows.

This member function also arranges icons on the desktop window, which covers the entire screen. The GetDesktopWindow member function retrieves a pointer to the desktop window object.

To arrange iconic MDI child windows in an MDI client window, call CMDIFrameWnd::MDIIconArrange.

Example

// arrange minimized MDI child windows
// called from menu item; CChildFrame is derived from CMDIChildWnd
void CChildFrame::OnActionArrangeiconicwindows() 
{
   UINT height = GetParent()->ArrangeIconicWindows();   
}

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetDesktopWindow, CMDIFrameWnd::MDIIconArrange, ::ArrangeIconicWindows