BCGControlBar Pro for MFC
virtual BOOL CBCGPBaseControlBar::CanBeDocked ( CBCGPBaseControlBar pDockBar) const
inlinevirtual

Determines whether this control bar can be docked to another control bar.

Returns
Nonzero if this control bar can be docked to another control bar; otherwise 0.

Called by the framework before this control bar is docked to another control bar specified by pDockBar. This function is very similar to CanAcceptBar(). It allows to fine tune an ability of this control bar to be docked to various control bars in the application.

The default implementation returns FALSE.

Parameters
pDockBarSpecifies another control bar to check.

Reimplemented in CBCGPControlBar.