Resource file problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rag84dec
    New Member
    • Mar 2007
    • 100

    Resource file problem

    Hi,
    I am using Microsoft Visual Studio c++ 6.0...
    I want to write a resoutce file say "menu.rc" but i cant type the things like
    Code:
    IDR_PUREMFC MENU PRELOAD DISCARDABLE 
    BEGIN
        POPUP "&File"
        BEGIN
            MENUITEM "Open...",     ID_FILE_OPEN
            MENUITEM "&Load ",          ID_FILE_LOAD
            MENUITEM "Get &Files ",      ID_FILE_GET
            MENUITEM SEPARATOR
            MENUITEM "E&xit",                       ID_APP_EXIT
        END
    When ever i say "addResourc e file" It will give a folder at the top of the file "menu.rc".. .And why do we use "&" (E&xit)??


    THanks
  • Rupali12345
    New Member
    • Jun 2007
    • 13

    #2
    why do we use "&" (E&xit)??

    We use" &" sign before letter "x"........ It means tat when we press "x" in keyboard...Exit is pressed.......

    tat is

    we can use & sign for traversing the menuitems using keyboard......

    Comment

    • DeMan
      Top Contributor
      • Nov 2006
      • 1799

      #3
      search "mnemonics c++" and you will hopefully get a nice explanation

      Comment

      Working...