Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: uikon.rh

Resource Struct MENU_ITEM

MENU_ITEM

Support

Supported from 6.0

Description

Defines a menu item.

MENU_ITEMs are used in the fields of a MENU_PANE resource.

Resources with this structure are read by CEikMenuPaneItem::ConstructFromResourceL(), and describe the CEikMenuPaneItem to be constructed.

See also:

LONG command=0;

ID of the command invoked when this menu item is activated.

LLINK cascade=0;

Link to a cascaded menu, of type MENU_PANE, activated by this menu item.Default is no cascaded menu.

LONG flags=0;

Flags that dim, separate, display symbols, etc. on menu items.

See also:

LTEXT txt;

The text displayed in the menu item.

LTEXT extratxt="";

Extra text.This text appears to the right of the menu item text, in a smaller and lighter font. This field cannot be used if there is a hotkey for the menu item.

LTEXT bmpfile="";

The .mbm file that holds an icon for the menu item.The default is the eikon .mbm file eikon.mbm.

WORD bmpid=0xffff;

ID of the icon bitmap in the specified .mbm file.The default is no icon.

WORD bmpmask=0xffff;

ID of the icon bitmap mask in the specified .mbm file.The default is no icon mask.

LLINK extension=0;

Unused.