BCGControlBar Pro for MFC
virtual BOOL CBCGPMiniFrameWnd::IsRollUp ( ) const
virtual

Called by the framework to determine whether a mini-frame window should be rolled up.

Returns
Should return nonzero if the mini-frame window has to be rolled up.

Called by the framework to determine whether a mini-frame window should be rolled up. The rollup/down feature will be enabled for a particular mini-frame window if it contains at least one control bar with CBRS_BCGP_AUTO_ROLLUP flag. This flag can be set when a control bar is created.

The default implementation checks whether the mouse pointer is outside of the mini-frame window bounding rectangle. You can override this behavior in a derived class.