CWnd::OnClose 

afx_msg void OnClose( );

Remarks

The framework calls this member function as a signal that the CWnd or an application is to terminate. The default implementation calls DestroyWindow.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::DestroyWindow, WM_CLOSE