BCGControlBar Pro for MFC
BOOL CBCGPFrameWnd::AddControlBar ( CBCGPBaseControlBar pControlBar,
BOOL  bTail = TRUE 

Registers a control bar with the docking manager

Nonzero if the control bar was registered, it's 0 if the bar has already been registered 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.

pControlBarA control bar to register.
bTailSpecifies whether to add this control bar to the and of the list (inner edge)