Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User patrick772goh's Avatar
    Join Date
    Oct 2007
    Posts
    18
    hi all, i am blur and do not know how to detect which option user select in a EAknCtPopupSettingList.

    Code:
    CAknSettingItem* item = ( *SettingItemArray() )[aIndex];
    	switch ( item->Identifier() )
    		{
    		}
    	
    	CAknSettingItemList::EditItemL( aIndex, aCalledFromMenu );
    	
    	TBool storeValue = ETrue;
    	switch ( item->Identifier() )
    		{
    		}
    		
    	if ( storeValue )
    		{
    		item->StoreL();
    		SaveSettingValuesL();
    		}
    for example the EAknCtPopupSettingList have 3 option,
    option1
    option2
    option3,
    How to detect which option user pick? The normal behavior what the EAknCtPopupSettingList do is that it straight put option1 in the setting when user pick(lets say user choose option1). I need to know which choice user choose. Thanks

    beside what is the different between
    Code:
    AVKON_ENUMERATED_TEXT
    		{
    		text = STR_Mobile_PAPresenceView_Available;
    		},
    and
    Code:
    AVKON_ENUMERATED_TEXT
    		{
                    value = 0;
    		text = STR_Mobile_PAPresenceView_Available;
    		},
    Does the value help me to detect which option the user select?

  2. #2
    Regular Contributor isarc's Avatar
    Join Date
    Apr 2007
    Location
    beijing,china
    Posts
    496
    getcurrentitem?

    which class do you use.
    heaven or dell? survival or death?

Similar Threads

  1. Change 1st 4 digit of Selected PhoneNumber
    By symprogrammer in forum Symbian C++
    Replies: 2
    Last Post: 2007-06-04, 05:05
  2. How to add additional option "-lang c++" ?
    By ahe in forum Symbian C++
    Replies: 2
    Last Post: 2006-11-02, 15:06
  3. Import MMP with different option to UREL ou UDEB
    By Altexia in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2005-11-30, 17:54
  4. Replies: 0
    Last Post: 2004-11-24, 18:49
  5. PC Suite not detect 6600 with Bluetooth connection
    By spinacle in forum Bluetooth Technology
    Replies: 29
    Last Post: 2004-03-14, 23:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved