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

Called by the framework just before the parent window is changed.

This function is called by the framework just before the current parent window of a control bar is changed as a result of docking, floating or autohide.

The default implementation does nothing.

pWndNewParentA pointer to a new parent window.
bDelaySpecifies whether it is needed to delay layout adjustments.

Reimplemented in CBCGPControlBar.