CBasePane::OnBeforeChangeParent

Called by the framework just before the pane changes its parent window.

virtual void OnBeforeChangeParent(
   CWnd* pWndNewParent,
   BOOL bDelay=FALSE
);

Parameters

  • [in] pWndNewParent
    A pointer to a new parent window.

  • [in] bDelay
    Specifies whether layout adjustments must be delayed.

Remarks

The framework calls this method just before the pane's parent changes, usually because of a docking, floating, or auto-hide operation.

The default implementation does nothing.

Requirements

Header: afxbasepane.h

See Also

Reference

CBasePane Class

Hierarchy Chart