BCGControlBar Pro for MFC
virtual BOOL CBCGPControlBar::FloatControlBar ( CRect  rectFloat,
BCGP_DOCK_METHOD  dockMethod = BCGP_DM_UNKNOWN,
bool  bShow = true 
)
virtual

Makes the control bar floating.

Returns
Nonzero if the control bar was floated successfully or if the control bar is not floating (CanFloat() return FALSE). It's 0 if an error occures.

Call this member function to make the control bar floating at the specified by rectFloat position. FloatControlBar will create a parent mini-frame for this control bar.

See also
CreateDefaultMiniframe, CBCGPMiniFrameWnd, CBCGPMultiMiniFrameWnd
Parameters
rectFloatSpecifies the screen coordinates to place the control bar upon floating.
dockMethodSpecifies the dock method to use to float the control bar.
bShowSpecifies whether the control bar should be shown (TRUE) or hidden (FALSE) upon floating.

Reimplemented from CBCGPBaseControlBar.