I've been spending my last few days trying to figure out how (or if) it's possible to have an enumerated text setting list display icons for the different options.
Up to now, I've subclassed CAknDialog and CAknSettingItemList to create a settings dialog from resource. It has two enumerated text settings and an Edwin control, and works fine.
What I'm not sure about is, if I add icon IDs to the labels, and set up an icon array, will the icons show up? In which class should I set up the icon array then?
Or if it's not possible this way, what should I do about it?
Thank you in advance,
First, I added the icon indexes like this: "0\tSmile". When I loaded the icons with the dialog, into the CAknSettingItemList-derived class' ListBox, nothing happened.
Now I've changed the strings to: "\tSmile\t0". I'm getting the E32USER-CBase 21 panic (index out of range). I don't know yet what to do with it though.