[MFC][VS2005 B2] Ressource editor

Hi there,

I got a little probleme with taht damn ressource editor, on smartphone when i create dialogs all runs well but for menus nothing goes right

Whe a menu is created it seems that a whole part of the menu definition in the rc file is missing. The data part.
I have to edit manually the rc file to make a menu for my smartphoen apps.

the question is how to fiw that, i mean, i want to create a menu with the wizzard and without do anything use the InsertMenuBar from CComandBar.

Thanks for replies.


Answer this question

[MFC][VS2005 B2] Ressource editor

  • DBatesX

    Did you try create a Smart Device default MFC application and play around with it a little bit or just porting over the old apps

    If you take a look at the .rc2 file (note: .rc2 file, not .rc file) generated with the default project, you will find the RCDATA there.

    To get more indepth info on the menubar, please take a look at this blog (http://blogs.msdn.com/johnkenn/comments/454858.aspx) to see if it helps.

  • time2upgrade

    The Whidbey Resource Editor on Menu resource only help you create the menu and menu items, but it doesn't generate the correponding RCDATA. That's the issue we need to address in next version of Visual Studio and sorry for the inconvenience brought to you.

    When working on the RCDATA on your own, the blog I mentioned would be pretty helpful. Or you can still use eVC to generate the resource and then copy them over into your Whidbey projects. Hope that helps.


  • Barry_S

    I see the RCDATA but the question is when i create a new menu, why i have to write the RCDATA in that file.
    under Embedded Visaul C++ i only use the ressource editor to create menu.
    I try to port my WM 2003 to WM 2005 with some tiny interface modifications, it's really easy to do in Visaul Embedded C++ 4.0 but not with VS 2005.

    Where is the complete Wizzard

  • [MFC][VS2005 B2] Ressource editor