Menu

How do I make a menu selection within a menu?

2002-09-29
2012-09-26
  • Nobody/Anonymous

    What is the syntax for the resource file to add a menu item within a menu item, as you see in some applications, something like

    File--Import--BMP
                      JPG
                      PCX

    see below where I tried putting it under &Test:

    BEGIN
        POPUP "&File"
        BEGIN
            MENUITEM "&New", IDM_FILENEW
            MENUITEM SEPARATOR
            MENUITEM "&Import", IDM_IMPORT
            MENUITEM "&Export", IDM_EXPORT
            MENUITEM "&Test",  POPUP MENUITEM "Load BMP", IDM_IMPORT_BMP,  MENUITEM "Load JPG", IDM_IMPORT

            MENUITEM SEPARATOR
            MENUITEM "E&xit", IDM_FILEEXIT
        END

     
    • Nobody/Anonymous

      umm hello?

       
    • Nobody/Anonymous

      I finally figured it out after a little fiddling.
      For future reference, see below:

          BEGIN
              MENUITEM "&New", IDM_FILENEW
              MENUITEM SEPARATOR
              MENUITEM "&Import", IDM_IMPORT
              MENUITEM "&Export", IDM_EXPORT
              POPUP "Test"
              BEGIN
                MENUITEM "Open BMP", IDM_IMPORT_BMP
              END

       
    • Nobody/Anonymous

      what is wrong with these sourceforge forums and why can't i see my changes?  is it the IE browser?

       
    • Nobody/Anonymous

      what is wrong with these sourceforge forums and why can't i see my changes?  is it the IE browser?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.