BCGControlBar Pro for MFC
virtual BOOL CBCGPControlBar::DockControlBar ( CBCGPBaseControlBar pDockBar,
LPCRECT  lpRect,
BCGP_DOCK_METHOD  dockMethod 
)
virtual

Docks the control bar to a dock bar.

Returns
Nonzero if the control bar was docked successfully; otherwise 0.

This function docks the control bar to a dock bar specified by pDockBar. The docking to the side occupied by pDockBar should be enabled first by EnableDocking().

Parameters
pDockBarA pointer to a dock bar.
lpRectSpecifies the rectangle on the dock bar.
dockMethodDocking method to use for the docking.

Reimplemented from CBCGPBaseControlBar.