dialog with a custom options menu

Login to reply to this topic.
Wed, 2005-05-04 11:20
Joined: 2005-02-21
Forum posts: 47
Hi again!

Unable to solve a simple problem of adding a menu_bar for a dialog (popping up from "options" left softkey.

I have a resource dialog with buttons R_AVKON_SOFTKEYS_OPTIONS_CANCEL.
And I have a CAknTextQueryDialog derived class to handle ConstructL giving menu resource Id (which is defined in rss as well) as a argument:
void CAknDialog::ConstructL( TInt aMenuBarResourceId )

Dialog is displayed but pressing left softkey (Options) cancels it. That is not what I've intended to do.

Thanks again, documentation, what I'm doing wrong?

rgds
Ahti.
  • Login to reply to this topic.