Different icons for different items in the listbox.
Nokia Developer Expert
I am able to put graphical icon before an item in the listbox. Now my application requires me to put different icons for different items in the listbox based on the nature of the item.
Can anyone guide me how can I put different icons for different items.
RE: Different icons for different items in the listbox.
you put all icons you want to use in CAknIconArray,
and then in your application LOC file, you define index
of an icon for particular text.
#define qtn_ListBox_item_1 "0\tItem 1\t "
#define qtn_ListBox_item_2 "1\tItem 2\t "
#define qtn_ListBox_item_3 "2\tItem 3\t "
0, 1 and 2 are index of icons array...
hope it help.... :)