Dialog.DoModal返回-1 AFX_MAMAGE_STATE(AfxGetStaticModuleState()); CTestDlg dlg; int rlt = dlg.DoModal(); 妈的, 搞半天, 真的烦