×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    38

    Smile Two Option Menus in the Same View??

    I want to make application with two option menu.

    One in LeftSoftkey (Normal Option menu)

    Other one should pop when you press selection key.

    But those two menus should be different.

    Can anybody please advice me.
    ----
    Nothing is Impossible

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Two Option Menus in the Same View??

    Hi,

    You can simply do it by using DynInitMenuPaneL() function.

    Search in this forum for more details

    Regards,
    Peter

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: Two Option Menus in the Same View??

    I do not know the exact details, however you need a CEikMenuBar for that (you can give the resource id to its ConstructL - this is the place where you can specify who will get the command, for example the AppUi is an easy choice), then you can try what happens on TryDisplayMenuBarL.
    Note that 2nd edition SDK-s contain a Menu example, which shows something similar - however it dynamically replaces the resource in the original CEikMenuBar instead of creating a new one.

  4. #4
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    80

    Re: Two Option Menus in the Same View??

    hi,
    if you want to change leftsoftkey and rightsoft keys by dynamically use cba keys/resouces like SetMenuTitleResourceId(), and if you want to change menuoptions in dynamiccally use DynInitMenuPaneL method.

  5. #5
    Registered User
    Join Date
    Dec 2005
    Posts
    38

    Re: Two Option Menus in the Same View??

    Thanks all...

    I solved the problem by changing menu according to the key event.
    ----
    Nothing is Impossible

Similar Threads

  1. slide menu in j2me
    By afka in forum Mobile Java General
    Replies: 4
    Last Post: 2006-09-04, 09:10
  2. changing the default menu options in the media gallery
    By deepthis in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-11-10, 22:54
  3. Replies: 1
    Last Post: 2005-09-08, 10:45
  4. 6600 item commands & options menu
    By random_john_doe in forum Mobile Java General
    Replies: 0
    Last Post: 2003-12-10, 16:18
  5. Menu in CCoeControl derived view
    By Juggle4Evr1 in forum Symbian User Interface
    Replies: 5
    Last Post: 2003-04-29, 15:37

Posting Permissions

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