how to dynamically set image in icon of CAknSingleLargeStyleListBox

Login to reply to this topic.
Thu, 2008-05-15 12:02
Joined: 2008-04-17
Forum posts: 4

Hello Friends,

I am getting image file in form of xml response from server.

I want to show the image in listbox as icon.
How to do it. I am using CAknSingleLargeStyleListBox.

How to set the icon directly from image file.
in CAknSingleLargeStyleListBox where file is obtained at run time .

Please help waiting for reply.
thanks ,
Regards,
Praveen.
Puzzled


Thu, 2008-05-15 13:25
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1886
Re: how to dynamically set image in icon of CAknSingleLargeStyle

Use

iListBox->ItemDrawer()->ColumnData()->IconArray()

to retrieve the icon array associated to your listbox and add your icon in it.


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

  • Login to reply to this topic.