关于IDD,该怎么处理
关于IDD
运行后提示如下;
F:\Zuo\Register\cRegisterDialog.cpp(19) : error C2039: 'IDD ' : is not a member of 'cRegisterDialog '
f:\zuo\register\cregisterdialog.h(13) : see declaration of 'cRegisterDialog '请问怎么改啊应该?
------解决方案--------------------
在CRegisterDialog类中添加公共枚举成员
public:
enum { IDD = xxxx };
//xxxx为RegisterDialog对话框ID
------解决方案--------------------
对话框ID看Resource Files页,点开Dialog就看到你设计的Dialog的ID了
运行后提示如下;
F:\Zuo\Register\cRegisterDialog.cpp(19) : error C2039: 'IDD ' : is not a member of 'cRegisterDialog '
f:\zuo\register\cregisterdialog.h(13) : see declaration of 'cRegisterDialog '请问怎么改啊应该?
------解决方案--------------------
在CRegisterDialog类中添加公共枚举成员
public:
enum { IDD = xxxx };
//xxxx为RegisterDialog对话框ID
------解决方案--------------------
对话框ID看Resource Files页,点开Dialog就看到你设计的Dialog的ID了