LaunchPopupMenuL - how to dismiss menu pane

Login to reply to this topic.
Tue, 2005-12-20 09:56
Joined: 2005-08-12
Forum posts: 10
I have a question regarding LaunchPopupMenuL. I'm working on an application that requires custom UI, because I didn't found a way of changing CBA background with my own I've implemented a custom control derived from CCoeControl to have my own custom CBA and I use LaunchPopupMenuL from CAknAppUi to launch the menu. The problem is that after I launch it, I cannot dismiss it and all user input goes to the menupane. I cannot use iEikonEnv->AppUiFactory()->MenuBar()->TryDisplayMenuBarL();  because if I display the menubar it displays the default CBA with "Select" and "Cancel" and it has the default background, or the device skin if I choose to have my app skin aware and not my own. So I was wondering if there is a way to dismiss the menu pane without the menu bar?
Thank a lot...
Regards,
Catalin

Tue, 2005-12-20 11:59
Joined: 2005-08-12
Forum posts: 10
Re: LaunchPopupMenuL - how to dismiss menu pane
From SDK documentation it seems that it is possible to override  the MEikMenuObserver::OfferKeyToAppL() method in your AppUi so that the application gets the keys that are not used by the menu, but this method never gets called. Does anybody know a workaround?
Best regards,
Catalin
  • Login to reply to this topic.