共用方式為


CPane::OnAfterChangeParent

Called by the framework when the parent of a pane has changed.

virtual void OnAfterChangeParent(
    CWnd* pWndOldParent
);

Parameters

  • [in] [out] pWndOldParent
    The pane's previous parent window.

Remarks

This method is called by the framework when the parent of a pane has changed because of a docking or floating operation.

Requirements

Header: afxPane.h

See Also

Reference

CPane Class

Hierarchy Chart