Call this member function toinvoke the modal dialog box and return the dialog-box result when done.
访问这个成员函数来调用模式对话框,调用完成后返回对话框结果
virtual INT_PTR DoModal( );
Return Value
An intvalue that specifies the value of the nResult parameter that was passedto the CDialog::EndDialog member function,which is used to close the dialog box. The return value is –1 if the functioncould not create the dialog box, or IDABORT if some other erroroccurred, in which case the Output window will contain errorinformation from