BCGControlBar Pro for MFC
virtual void CBCGPControlBar::OnBeforeChangeParent ( CWnd *  pWndNewParent,
BOOL  bDelay = FALSE 
)
virtual

Called by the framework when the parent of the control bar is about to be changed as a result of docking or floating operation.

The default implementation checks for the parent dock bar and if a pointer to it is not NULL calls CBCGPDockBar::RemoveControlBar to unregister this control bar with the dock bar.

See also
CBCGPDockBar
Parameters
pWndNewParentA pointer to the new parent window.
bDelaySpecifies whether the global docking layout should be adjusted immediately (FALSE) or not TRUE.

Reimplemented from CBCGPBaseControlBar.