This member function is called by the framework as a signal that the CWnd object or the application is to terminate. The default implementation calls DestroyWindow.
afx_msg void OnClose( );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::DestroyWindow