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.
pBar | A pointer to control bar to add. |