Call this member function to terminate a modal dialog box. This member function returns nResult as the return value of DoModal. You must use the EndDialog function to complete processing whenever a modal dialog box is created.
void EndDialog( int nResult );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDialog Overview, CDialog Member Functions, Dialog Box Classes, CDialog::DoModal, CDialog::OnOK, CDialog::OnCancel