CWnd::OnClose

afx_msg void OnClose( );

说明:
框架调用这个函数,作为CWnd或应用程序要被关闭的信号。缺省的实现调用DestroyWindow。

请参阅:CWnd::DestroyWindow, WM_CLOSE