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

Registers a control bar with the docking manager

Returns
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.

Parameters
pControlBarPoints to a control bar to be registered.
bTailSpecifies whether to add this control bar to the and of the list (inner edge)