×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Remove "Options" from control pane in runtime

    Hi,

    I would like to leave just "Back" button on the control pane and remove the "Options". I thought I could do it using DynInitMenuPaneL method, but I can not get the resource identifier for the button so that I could call something like

    aMenuPane->SetItemDimmed(EEditorContainerViewOptionsMenuItemCommand, ETrue);

    Is there any other way?

    Thank you.

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: Remove "Options" from control pane in runtime

    Try to dynamically update CBA:
    Code:
    CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current();
    cba->SetCommandSetL(R_AVKON_SOFTKEYS_CANCEL);

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,752

    Re: Remove "Options" from control pane in runtime

    The menu is what you get after selecting Options. The label itself is part of the Command Button Array. Search for cba in the Wiki.

  4. #4
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Re: Remove "Options" from control pane in runtime

    Quote Originally Posted by wizard_hu_ View Post
    The menu is what you get after selecting Options. The label itself is part of the Command Button Array. Search for cba in the Wiki.
    Thank you guys. I have used cba reference using AppUi(), and it was not the right cba. But using A.A.M's advise works nice.

Similar Threads

  1. control pane area blank.......
    By chandra1234 in forum Symbian
    Replies: 1
    Last Post: 2009-04-29, 09:13
  2. can i add an icon to the control pane
    By purnima.j in forum Symbian
    Replies: 1
    Last Post: 2008-04-03, 10:37
  3. Replies: 1
    Last Post: 2004-11-25, 03:42
  4. CAknForm derived class does not display via navi pane
    By andyesquire in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-03-01, 19:07
  5. Replies: 1
    Last Post: 2002-05-08, 16:34

Posting Permissions

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