Unregisters a pane and removes it from the list in the docking manager.
void RemovePaneFromDockManager(
   CBasePane* pWnd,
   BOOL bDestroy,
   BOOL bAdjustLayout,
   BOOL bAutoHide = FALSE,
   CBasePane* pBarReplacement = NULL
);
Parameters
- [in] pWnd 
 A pointer to a pane to be removed.
- [in] bDestroy 
 If TRUE, the removed pane is destroyed.
- [in] bAdjustLayout 
 If TRUE, adjust the docking layout immediately.
- [in] bAutoHide 
 If TRUE, the pane is removed from the list of autohide bars. If FALSE, the pane is removed from the list of regular panes.
- [in] pBarReplacement 
 A pointer to a pane that replaces the removed pane.
Requirements
Header: afxdockingmanager.h