CWnd::ArrangeIconicWindows

让所有最小化状态(图标)样式的子窗口。

UINT ArrangeIconicWindows( );

返回值

高度图标一行,如果函数运行成功;否则为0。

备注

此成员函数还将在桌面窗口的图标,包括整个屏幕。 GetDesktopWindow 成员函数检索指向桌面窗口对象。

若要使在MDI客户端窗口的图标样式的MDI子窗口,请调用 CMDIFrameWnd::MDIIconArrange

示例

// arrange minimized MDI child windows 
// called from menu item; CMdiChildFrame is derived from CMDIChildWnd 
void CMdiChildFrame::OnActionArrangeIconicWindows()
{
   UINT height = GetParent()->ArrangeIconicWindows();   
   TRACE(_T("height = %d\n"), height);
}

要求

Header: afxwin.h

请参见

参考

CWnd 类

层次结构图

CWnd::GetDesktopWindow

CMDIFrameWnd::MDIIconArrange

ArrangeIconicWindows