共用方式為


CWnd::PostNcDestroy

Called by the default OnNcDestroy member function after the window has been destroyed.

virtual void PostNcDestroy( );

Remarks

Derived classes can use this function for custom cleanup such as the deletion of the this pointer.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::OnNcDestroy