BCGControlBar Pro for MFC
virtual void CBCGPDockingControlBar::ShowControlBar ( BOOL  bShow,
BOOL  bDelay,
BOOL  bActivate 

Shows or hides a control bar.

You should call this function instead of the regular CWnd::ShowWindow.

bShowTRUE - show the bar, FALSE - hide the bar.
bDelaySpecifies whether to adjust the docking layout immediately (FALSE) or delay it (TRUE).
bActivateSpecifies whether to activate the bar or not.

Reimplemented from CBCGPBaseControlBar.