×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    48

    Changing menu items dynamically

    How to change the menu items (text) dynamically in an EPOC application?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    76

    RE: Changing menu items dynamically

    A good place to change menu items dynamically is

    CEikAppUi::DynInitMenuPaneL(TInt aMenuId,CEikMenuPane* aMenuPane)

    This function can be found in your application's AppUi class.

    The function provides you automatically a pointer to current menu pane. Through the pointer you can use CEikMenuPane functions to change menu pane contents. Below there are some examples of functions in CEikMenuPane class.

    CEikMenuPane::SetItemTextL()
    CEikMenuPane::SetItemDimmed()
    CEikMenuPane::InsertMenuItemAtL()
    CEikMenuPane::DeleteMenuItem()
    CEikMenuPane::AddMenuItemL()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •