CWnd::OnClose

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

afx_msg void OnClose( );

Remarks

The default implementation calls DestroyWindow.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

CWnd::DestroyWindow

WM_CLOSE