×

Discussion Board

Results 1 to 3 of 3

Thread: Add New Menu

  1. #1
    Regular Contributor
    Join Date
    Apr 2004
    Posts
    68

    Add New Menu

    Hello
    I want know how can i add new submenu when i click on menu..like

    Send---when i clikk on Send then my application show like this

    Send-->SMS
    -->MMS
    -->Other




    Regards
    Anupam..

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144
    basically the send menu is propably the only place where you could add your own stuff.

    And how to do it see the MTM example found from downloads in this forum.

    yucca

  3. #3
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    if you are looking for a general idea how to write cascade menus then it is very simple...
    Just define it in resource file like this:
    Code:
    RESOURCE MENU_BAR my_menubar
        {
        titles=
            {
            MENU_TITLE { menu_pane=r_menu_1; txt=""; }
            };
        }
    
    RESOURCE MENU_PANE r_menu_1
        {
        items=
            {
            MENU_ITEM { command=ECommand1; txt = "command1"; },
    	MENU_ITEM { cascade=r_submenu; txt = "submenu"; }
            };
        }
    
    RESOURCE MENU_PANE r_submenu
        {
        items=
            {
            MENU_ITEM { command=ECommand2; txt = "command2"; }
            };
        }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •