How to hide cascade menu ???

Login to reply to this topic.
Wed, 2004-07-14 16:42
Joined: 2003-10-02
Forum posts: 73
Hi !!

I know how to hide menu buttons:

aMenuPane->SetItemDimmed(ESnapShotTakePreview, EFalse);

But... How hide cascade menu Huh

I have a menu like this:

[....]
MENU_ITEM { cascade=r_3wGISLiteME_Search_menu; txt="Search"; },
[....]

RESOURCE MENU_PANE r_3wGISLiteME_Search_menu
{
        items=
        {
        [....]
        };
}

How hide the cascade menu Huh Let me know guys!!!  Smiley

Screener_it


Thu, 2004-07-15 10:38
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 723
It's very simple
You can assign a command id to your cascading menu the same way as you do with normal menu items. So your cascading menu item may (and should) look like this:

Code:
MENU_ITEM { cascade=r_3wGISLiteME_Search_menu; command=SomeCommand; txt="Search"; },

And then you can hide and dim it by using this command id.

Cheers,

tOtE

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

  • Login to reply to this topic.