BCGControlBar Pro for MFC
virtual BOOL CBCGPControlBar::OnBeforeFloat ( CRect &  rectFloat,
BCGP_DOCK_METHOD  dockMethod 
)
virtual

Called by the framework when a control bar is about to float.

Returns
Should return TRUE if it's possible to float the control bar; otherwise FALSE.

Override this member function in a derived class if you need any "last minute" processing just before the control bar is finally floating.

Parameters
rectFloatSpecifies the position and size of the control bar in the floating state.
dockMethodSpecifies the docking method.