DoModal() --------------------- 模态对话框
// TODO: Add your control notification handler code here
CMyDialog *pDialog = NULL;
pDialog = new CMyDialog();
if ( NULL != pDialog )
{
pDialog->Create(IDD_DIALOG, this);
pDialog->ShowWindow(SW_SHOW);
}
---------------------------------- 非模态对话框