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.
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
Hi,
You can simply do it by using DynInitMenuPaneL() function.
Search in this forum for more details
Regards,
Peter
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.
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.
Thanks all...
I solved the problem by changing menu according to the key event.
----
Nothing is Impossible