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

Determines whether a control bar can be docked at the specified dock bar.

Returns
Nonzero if a control bar can be docked at the specifies dock bar; otherwise 0.

This function is usually called by the framework to determine whether a control bar can be docked at the specified dock bar. It takes into account the currently enabled docking alignment of a control bar and the alignment of the dock bar.

You can enable docking at the various sides of the frame window using EnableDocking().

Parameters
pDockBarA pointer to a dock bar.

Reimplemented from CBCGPBaseControlBar.