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

Shows or hides a control bar.

This function shows or hides a control bar. You have to use this function instead of ShowWindow because it automatically notifies the relevant docking managers about the changes in the control bar visible state.

You can determine the current visible state of a control bar using CBCGPBaseControlBar::IsVisible.

bShowSpecifies whether to show (TRUE) or hide (FALSE) a control bar.
bDelaySpecifies whether to recalculate the docking layout immediately or not.
bActivateSpecifies whether to activate the bar or not.

Reimplemented in CBCGPDockingControlBar.