BOOL CBCGPFrameWnd::AddControlBar | ( | CBCGPBaseControlBar * | pControlBar, |
BOOL | bTail = TRUE |
||
) |
Registers a control bar with the docking manager
Each control bar must be registered with the docking manager to take a part in the docking layout. Use this function to tell the docking manager about a control bar specifies by pControlBar. From this moment the docking manager will be trying to align this bar according to the bar's alignment and position in the internal docking manager's list.
pControlBar | A control bar to register. |
bTail | Specifies whether to add this control bar to the and of the list (inner edge) |