This method terminates a modal dialog box. This method returns nResult as the return value of DoModal. Use the EndDialog method to complete processing whenever a modal dialog box is created.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
void EndDialog( int nResult );
CDialog::DoModal, CDialog::OnOK, CDialog::OnCancel