BCGControlBar Pro for MFC
virtual BOOL CBCGPDockingControlBar::IsDocked ( ) const
virtual

Determines whether the control bar is docked or not.

Returns
TRUE if the control bar is not belong to any mini-frame window or it's floating in a mini-frame window with another control bar(s). FALSE if the control bar is a child of a mini-frame window and there are no other control bars belong to the mini-frame window.

Actually, this implementation checks whether the control bar is floating alone in a mini-frame window or not.

If you want to know if the control bar is docked to the main frame window, use GetDefaultSlider(). If the GetDefaultSlider() function returns a non-NULL pointer to a default slider, the control bar is docked at the main frame window.

See also
CBCGPMiniFrameWnd, CBCGPMultiMiniFrameWnd

Reimplemented from CBCGPBaseControlBar.