BCGControlBar Pro for MFC
virtual BOOL CBCGPMDIFrameWnd::OnShowControlBars ( BOOL  bShow)
virtual

Called by the framework to show and hide control bars.

This function returns 0 if the control bars are already in the state specified by bShow. This would occur, for example, if the control bars are hidden and bShow is FALSE.

The default implementation removes the toolbar from the top-level frame window.

If CBCGPDockManager::m_bHideDockingBarsInContainerMode is TRUE (the default) all docking control bars will be hidden as well.

Parameters
bShowSpecifies whether control bars are to be shown or hidden.