Unregisters a pane and removes it from the docking manager.
- [in] pControlBar
A pointer to a pane to be removed.
- [in] bDestroy
TRUE to destroy the removed pane. FALSE to not destroy it.
- [in] bAdjustLayout
TRUE to adjust the docking layout immediately. If FALSE, the adjustment will occur only when a redraw event occurs for other reasons (the user resizes the window, drags the main frame, etc.).
- [in] bAutoHide
TRUE to remove the pane from the list of autohide panes. FALSE to remove the pane from the list of regular panes.
- [in] pBarReplacement
A pointer to a pane that replaces the removed pane.