BCGControlBar Pro for MFC
virtual BOOL CBCGPControlBar::OnBeforeDock ( CBCGPBaseControlBar **  ppDockBar,
LPCRECT  lpRect,
BCGP_DOCK_METHOD  dockMethod 
)
protectedvirtual

Called by the framework when the control bar is about to be docked.

Returns
Should return TRUE if the control bar can be docked. If the function returns FALSE the docking operation will be aborted.

Override this function in a derived class if you need any "last minute" processing before a control bar is finally docked.

Parameters
ppDockBarA pointer to a control bar this control will be docked to.
lpRectSpecifies the docking rectangle.
dockMethodSpecifies the docking method.