BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseControlBar::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 FALSE. Override this function in a derived class if you want temporary enable/disable the ability to dock without calling EnableDocking().

Reimplemented in CBCGPDockingControlBar.