1.建立对话框; 2.利用类向导为新建的对话框建立新的类,生成对应的.cpp,.h文件; 3.菜单映射相应:添加相应函数 CSection *dlg = new CSection(); dlg->DoModal(); 4.添加对话框的头文件;