| void CBCGPFrameWnd::RemoveControlBarFromDockManager | ( | CBCGPBaseControlBar * | pControlBar, | 
| BOOL | bDestroy, | ||
| BOOL | bAdjustLayout, | ||
| BOOL | bAutoHide, | ||
| CBCGPBaseControlBar * | pBarReplacement | ||
| ) | 
Unregisters a control bar removing it from the docking manager's internal list.
Each control bar must be registered with the docking manager to take a part in the docking layout. Control bars are registered using AddControlBar() or InsertControlBar().
Use this member function when a control bar is no more a part of the docking layout of the frame window.
| pControlBar | Points to a control bar to be removed. | 
| bDestroy | Specifies whether the removed control bar should be destroyed. | 
| bAdjustLayout | TRUE - adjust the docking layout immediately. | 
| bAutoHide | Specifies whether the docking layout is related to the list of autohide bars (that is managed separately) or regular control bars. | 
| pBarReplacement | Specifies the bar to be replaced. |