Syntax
virtual void OnOK();
Remarks
Override this member function to perform OK button action. The default simply terminates the dialog box and causes DoModal to return IDOK.
See Also
CModalDialog::OnCancel, WM_COMMAND