BCGControlBar Pro for MFC
void CBCGPMDIFrameWnd::ShowControlBar ( CBCGPBaseControlBar pBar,
BOOL  bShow,
BOOL  bDelay,
BOOL  bActivate 
)

Call this member function to show or hide the control bar.

Do not use ShowWindow for docking control bars.

Parameters
pBarPointer to the control bar to be shown or hidden.
bShowIf TRUE, specifies that the control bar is to be shown. If FALSE, specifies that the control bar is to be hidden.
bDelayIf TRUE, delay adjust docking layout. If FALSE, recalculate the docking layout immediately.
bActivateIf TRUE, specifies that the control bar should be activated. If FALSE, specifies that the control bar should be shown in inactive state.