×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    168

    Question How to handle Pop up menu items

    Hi,
    I've created a setting list in which i list certain options in a EAknCtPopupSettingList, my problem is that in one of the options i want that the other setting items would become invisible. So can anyone please tell me how wld i do that!!

    Thx

  2. #2
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Delhi, India
    Posts
    285

    Re: How to handle Pop up menu items

    make itemlist from CAknSettingItemList
    CEikSettingsListBox *iListBox = iItemList->ListBox();
    CAknSettingItem *XSettingItem;
    ...........
    ............
    iItemList->SettingItemArray()->AppendL(XSettingItem);
    XSettingItem->setHidden(ETrue);//will be hide until made EFalse
    iItemList->SettingItemArray()->AppendL(YSettingItem);
    iItemList->SettingItemArray()->AppendL(ZSettingItem);

    do not forget to add

    itemist->SettingItemArray()->RecalculateVisibleIndicesL();
    itemlist->HandleChangeInItemArrayOrVisibilityL();
    itemlist->ListBox()->UpdateScrollBarsL();
    befor drawing it;

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    168

    Re: How to handle Pop up menu items

    Can u show me some example or some sample project to do that!!

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    168

    Re: How to handle Pop up menu items

    Can somebody please show me a better way to perform this operation!!

Similar Threads

  1. dynemic menu
    By pankaj gupta55 in forum Symbian
    Replies: 1
    Last Post: 2008-09-20, 11:33
  2. Changing option menu items dynamically
    By Digish in forum Symbian
    Replies: 1
    Last Post: 2008-09-17, 19:05
  3. How to handle order of option menu
    By magovoru in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-11-09, 13:57
  4. Menu Items broken?
    By aeliasen in forum Personal Profile
    Replies: 2
    Last Post: 2005-04-28, 12:55

Posting Permissions

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