Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2006

    Question Not displaying item names in CAknSelectionListDialog

    I'm trying to provide a selection list for user to select by using CAknSelectionListDialog. The program is compiled fine, but when I run the program, the selection list do not show up the names of the items, but only blank selection lines are shown, like every list item name is blank.

    I know the array is with correct no. of items, because the blank items correspond to the actual no. of items that should be shown. This is the coding I used.

    CDesCArrayFlat* deviceArray = new (ELeave) CDesCArrayFlat(3);

    ...... ..... ....

    CAknSelectionListDialog* dlg;
    TInt index = 0;
    dlg = CAknSelectionListDialog :: NewL(index, deviceArray,R_CONTACTS_FILTER_MENU);
    TInt selectedDevice = dlg->RunLD();

    ... ...

    Do anyone know why the CAknSelectionListDialog don't show up the item names. How can I solve this problem to show the names in the list.

  2. #2
    Registered User
    Join Date
    May 2005

    Re: Not displaying item names in CAknSelectionListDialog

    Hi hasiamar,
    have you put '\t' character in front of your every item? eg. \tItem1, \tItem2, etc.

    best regards,

  3. #3
    Registered User
    Join Date
    Jul 2006

    Re: Not displaying item names in CAknSelectionListDialog

    yes, it solved that problem.

    Thank you.

Similar Threads

  1. Displaying Information In a form from Listbox Item
    By mubx2000 in forum Symbian User Interface
    Replies: 26
    Last Post: 2007-05-26, 07:38
  2. names are not displaying from addressbook when somebody calls
    By sudir_babu in forum Series 40 & S60 Platform Feedback Archive
    Replies: 1
    Last Post: 2006-10-07, 11:34
  3. Replies: 7
    Last Post: 2006-10-07, 07:53
  4. Replies: 2
    Last Post: 2006-04-27, 07:58
  5. Replies: 1
    Last Post: 2006-03-21, 12:42

Posting Permissions

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