Cannot find add member variable wizard in class view

Hi,

I'm in the class view window and have created a new class. I 'right click' on the class and expect to see the option: Add->member variable.

In VC++ express, however, I see no option to add at all.

Am I doing something really stupid, or is this not an 'option' in VC++ express.

Apologies for such a dumb question, but I'd really appreciate some help.

Cheers,

Nick



Answer this question

Cannot find add member variable wizard in class view

  • Brian Noyes

    Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=382546&SiteID=1

    Thanks,
    Ayman Shoukry
    VC++ Team


  • nicg

    Marsi wrote:

    I've faced with the same problem and noticed that the issue caused due to changing Dialog resource ID (for ex. IDD_DIALOG1 - > IDD_ADDWIZARD_DIALOG) in the Properties window AFTER creating dialog class.

    So I've changed Dialog class header file:

    from
    enum { IDD = IDD_DIALOG1 };

    to
    enum { IDD = IDD_ADDWIZARD_DIALOG };

    and then wisard works fine.

    It seems the issue posted a long time ago but I hope this info will be really helpful for newbies like me :)

    If you're using Visual C++ Express, MFC is not supported. If you're not using Visual C++ Express, you should post this as a new questions on the Visual C++ General forum.

  • Vishva

    Do you see an "Add" menu item

  • Chappers23

    I've faced with the same problem and noticed that the issue caused due to changing Dialog resource ID (for ex. IDD_DIALOG1 - > IDD_ADDWIZARD_DIALOG) in the Properties window AFTER creating dialog class.

    So I've changed Dialog class header file:

    from
    enum { IDD = IDD_DIALOG1 };

    to
    enum { IDD = IDD_ADDWIZARD_DIALOG };

    and then wisard works fine.

    It seems the issue posted a long time ago but I hope this info will be really helpful for newbies like me :)


  • Cannot find add member variable wizard in class view