CMDIFrameWndEx::DockPane
Visual Studio 2012
Docks the specified pane to the frame window.
void DockPane( CBasePane* pBar, UINT nDockBarID=0, LPCRECT lpRect=NULL );
This method docks the specified the pane to one of the sides of the frame window that was specified when CBasePane::EnableDocking and CMDIFrameWndEx::EnableDocking were called.
The following example demonstrates the use of the DockPane method. This code snippet comes from the VisualStudioDemo Sample: MFC Visual Studio Application.
DockPane(&m_wndMenuBar); DockPane(&m_wndToolBar); DockPane(&m_wndPropertiesBar); DockPane(&m_wndToolbarBuild);