BCGControlBar Pro for MFC
void CBCGPBaseControlBar::AddControlBar ( CBCGPBaseControlBar pBar)

Adds a control bar to docking manager.

This function is a "shortcut". If at some place in the code you have to add a control bar to a docking manager object, and you don't want to write a switch that analyzes the type of the parent frame, just call CBCGPBaseControlBar::AddControlBar.

See also
CBCGPDockManager, CBCGPMDIFrameWnd::AddControlBar
Parameters
pBarA pointer to control bar to add.