CFrameWndEx::RemovePaneFromDockManager
Unregisters a pane and removes it from the docking manager.
void RemovePaneFromDockManager(
CBasePane* pControlBar,
BOOL bDestroy,
BOOL bAdjustLayout,
BOOL bAutoHide,
CBasePane* pBarReplacement
);
Parameters
[in] pControlBar
A pointer to the control bar pane to remove.[in] bDestroy
TRUE to destroy the control bar after removing it; FALSE otherwise.[in] bAdjustLayout
TRUE to adjust the docking layout; FALSE otherwise.[in] bAutoHide
TRUE if the control bar is in auto-hide mode; FALSE otherwise.[in] pBarReplacement
A pointer to a pane that replaces the removed pane.
Remarks
Use this method to remove a control bar from the docking layout of the frame window.
The CDockingManager Class handles the layout of control bars. You must register each control bar with the docking manager by using the CFrameWndEx::AddPane method or the CFrameWndEx::InsertPane method.
Requirements
Header: afxframewndex.h