BCGControlBar Pro for MFC
virtual BOOL CBCGPFrameWnd::OnCloseMiniFrame ( CBCGPMiniFrameWnd )
inlinevirtual

Called when the user clicks "close" button and a floating mini-frame window is about to be hidden.

Returns
Should return TRUE if a floating mini-frame window can be closed.

Override this method in order to get notified about hiding of floating mini-frame windows. Return FALSE if you want to prevent a floating mini-frame window from being hidden. The default implementation does nothing and returns TRUE.