CDialog::OnCancel

The framework calls this member function when the user clicks the Cancel button or presses the ESC key in a modal or modeless dialog box.

Syntax

virtual void OnCancel( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDialog Overview, CDialog Member Functions, Dialog Box Classes, CDialog::OnOK, CDialog::EndDialog