Partager via


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

Concepts

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::DestroyWindow

WM_CLOSE