Showing/hiding icon selectively on single row ColumnListBox

Login to reply to this topic.
Mon, 2005-05-16 16:20
Joined: 2004-10-21
Forum posts: 58
Hi All,

I'm trying to implement a bookmark feature in my current application for which I'm using CEikColumnListBox, and
then displaying a single icons against all the items displayed in the listbox.
However, I'd like to hide/show icons displayed against each item selectively.
So some of the rows might have icon displayed against them while some rows might not have the image displayed against them.

And this needs to be done when the user selects/deselects the BookMark option, so that an already  BookMarked item would then be unbookmarked while the unmarked one would be bookmarked.
Essentially this would mean, the Bookmark item would have the icon displayed, while the unbookmarked item wouldn't have that icon displayed.

The methods available are SetGraphicsColumnL() and SetColumnWidthPixelL() do this for the entire column in a listbox not for a particular row. Is it possible to achieve the above for particular rows in the CEikColumnListBox?
Any code snippet or a pointer in this regard would be deeply appreciated.

Thanks & regards,
Asheesh
  • Login to reply to this topic.