BCGControlBar Pro for MFC
virtual BOOL CBCGPDockingControlBar::CanBeAttached ( ) const
inlinevirtual

Called by the framework to determine if the control bar can be docked to another control bar or frame window.

Returns
Nonzero if the control bar can be docked to another control bar or frame window; otherwise 0.

The default implementation returns TRUE. Override this function in a derived class if you want temporary enable/disable the ability to dock without calling EnableDocking().

Reimplemented from CBCGPBaseControlBar.