Adding and removing menu items

Add items to the menu by either:

Note:

If the menu already contains the maximum number of items, CAknStylusPopUpMenu::AddMenuItemL() will do nothing. The same applies to CAknStylusPopUpMenu::ConstructFromResourceL(): it will only add the maximum number of menu items even if there were more items defined in the resource.

To remove items, use the method CAknStylusPopUpMenu::RemoveItem().