问题:使用VC++6.0建立新对话框类的时候,将已有的.h和.cpp文件包含进来建立该类,提示the files for the new class contain remnants of that class
解决方案:删除*.clw文件,重启VC,打开工程,View–> ClassWizard,会出现一个对话框,选“Add All”再选“OK”,再新建类,就可以了。
参考
1.请教MFC中创建新类的问题
2.VC技术流(4)——解决MFC对话框类不能建立new class contain the remnants
3.解决MFC对话框类不能建立new class contain the remnants of that class