BCGControlBar Pro for MFC
virtual BOOL CBCGPFrameWnd::OnCloseDockingBar ( CBCGPDockingControlBar )
inlinevirtual

Called when the user clicks "close" button and a docking bar is about to be hidden.

Returns
Should return TRUE if the docking bar can be closed.

Override this method in order to get notified about hiding of docking bars. Return FALSE if you want to prevent a docking bar from being hidden. The default implementation does nothing and returns TRUE.