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 Overview | Class Members | Hierarchy Chart
See Also CWnd::DestroyWindow, WM_CLOSE