int fsDialogsMgr::DoModal(CDialog *dlg) { int res; OnDoModal (dlg); res = dlg->DoModal (); OnEndDialog (dlg); return res; }
int fsDialogsMgr::DoModal(CPropertySheet *sheet) { int res; OnDoModal (sheet); res = sheet->DoModal (); OnEndDialog (sheet); return res; }
BOOL CConfigPropertySheet::OnCommand(WPARAM wParam, LPARAM lParam) { // Check if OK or Cancel was hit if ( ( wParam == ID_WIZFINISH ) || ( wParam == IDOK ) || ( wParam == IDCANCEL ) ) { OnEndDialog(); } return CPropertySheet::OnCommand(wParam, lParam); }