◄CModalDialog► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── virtual void OnCancel(); Remarks Override this member function to perform Cancel button action. The default simply terminates the dialog box and causes DoModal to return IDCANCEL. See Also ◄CModalDialog::OnOK►, ◄WM_COMMAND► -♦-