Read-only archive of the All About Symbian forum (2001–2013) · About this archive

CListItemDrawer question

0 replies · 999 views · Started 22 July 2003

Hey! 😃 i have made a class derived from a CeikSnakingListBox...
so i also derived classes from CListitemdrawer and CListBoxModel... my listbox displays picture thumbnails with caption below.. and it is snaking... Now i wanted it also to be Multiple selected so there are tick marks appearing on the sides... The problem is when i click on the tick marks the program crashes....

The way i subclasssed CListItemDrawer is i only overrided the DrawItem method and draw the bitmaps and texts using the gc's... i was wondering if i needed to do sumthing on the functions DrawItemMark.. SetDrawItem of the CListItemDrawer...

Please help on this matter...