CMDIFrameWndEx::AddPane
Visual Studio 2012
Registers a pane with the docking manager.
BOOL AddPane( CBasePane* pControlBar, BOOL bTail=TRUE );
Each pane must be registered with the CDockingManager Class before it can take a part in the docking layout. Use this method to notify the docking manager that you want to dock a specific pane. Once that pane is registered, the docking manager aligns it based on its alignment setting and position in the list of panes maintained by the docking manager.