BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseControlBar::CanFloat ( ) const

Determines whether the control bar can float.

Nonzero if the control bar can float; otherwise 0.

Called by the framework to determine whether the control bar can float or not. This ability is specified at the creation time by flags passed to CreateEx.

You should specify CBRS_BCGP_FLOAT style to make a control bar floating.

Important! The framework assumes that non-floating control bars are created by a programmer "statically"and their docking state can't change and therefore is not saved/restored.

The default implementation just checks for CBRS_BCGP_FLOAT style.

Reimplemented in CBCGPReBar.