How to Edit Resource File?

Discussion in 'MFC' started by sysop1911, Jul 1, 2010.

  1. sysop1911

    sysop1911 New Member

    Joined:
    Jul 1, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I'm trying to create a menu bar in a window I've already created using Visual Studio 2008. I created the resource file (.rc), but cannot figure out how to edit it. I know I need to put the 'symbols' (numbers) with the #defines in the header file. What do I put in the rc file? Or better yet, how do I enter the info in? If I were simply writing the code I'd do something like this:

    Mainmenu MENU BLAH
    {
    POPUP "File"
    {
    MENUITEM "Open", MENU_FILE_ID_OPEN
    }
    }

    Not sure how to put this info into the format that the .rc in the resource viewer in VC++. This is probably a simple answer. Thanks.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice