Me
2013-02-15 14:42:41 UTC
I am using VC++ VS2012
I have a Tabbed Dialog application with two tabs
I am trying to add a popup dialog window for one of the tabs
I create a new dialog IDD_DLGLIST and a new CDialog class for it
Dlglist.cpp using the Class Wizard
When I click Finish & Apply in the Class Wizard the new Dlglist.h come up
in editor.
class Dlglist : public CDialog
{
DECLARE_DYNAMIC(Dlglist)
public:
Dlglist(CWnd* pParent = NULL); // standard constructor
virtual ~Dlglist();
// Dialog Data
enum { IDD = IDD_DLGLIST };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
};
The line "enum { IDD = IDD_DLGLIST }; has the IDD_DLGLIST underlined in red
Error: identifier "IDD_DLGLIST" is undefined
When I try to build the same error comes up?
I see IDD_DLGLIST in the Resource View?
What is wrong?
TIA
Ed
I have a Tabbed Dialog application with two tabs
I am trying to add a popup dialog window for one of the tabs
I create a new dialog IDD_DLGLIST and a new CDialog class for it
Dlglist.cpp using the Class Wizard
When I click Finish & Apply in the Class Wizard the new Dlglist.h come up
in editor.
class Dlglist : public CDialog
{
DECLARE_DYNAMIC(Dlglist)
public:
Dlglist(CWnd* pParent = NULL); // standard constructor
virtual ~Dlglist();
// Dialog Data
enum { IDD = IDD_DLGLIST };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
};
The line "enum { IDD = IDD_DLGLIST }; has the IDD_DLGLIST underlined in red
Error: identifier "IDD_DLGLIST" is undefined
When I try to build the same error comes up?
I see IDD_DLGLIST in the Resource View?
What is wrong?
TIA
Ed