About ItemListbox && ItemEntry
Posted: Thu Sep 17, 2009 09:07
Hi, I'm not ask the same question and I think I should place it in the Beginners Help.
I want to insert into the ItemListbox some Items, which are combined windows, such as StaticImage、StaticText、StaticImage.and I now know that I should insert ItemEntry based class object into ItemListbox.
In order to achive this, I write a class Named NewItemEntry: public ItemEntry.
and In it's constructor, I add four new child window(StaticImage、StaticText、StaticImage、StaticImage) to this NewItemEntry, and the next step I create a new object NewItemEntry *pMyItem = new NewItemEntry(...)
ItemListbox::addItem(pMyItem), it gives me an exception ("ItemEntry::getItemPixelSize must be implementd...")
I don't know how to solve this .
I'm waiting for your suggestion!Thank you !
I want to insert into the ItemListbox some Items, which are combined windows, such as StaticImage、StaticText、StaticImage.and I now know that I should insert ItemEntry based class object into ItemListbox.
In order to achive this, I write a class Named NewItemEntry: public ItemEntry.
and In it's constructor, I add four new child window(StaticImage、StaticText、StaticImage、StaticImage) to this NewItemEntry, and the next step I create a new object NewItemEntry *pMyItem = new NewItemEntry(...)
ItemListbox::addItem(pMyItem), it gives me an exception ("ItemEntry::getItemPixelSize must be implementd...")
I don't know how to solve this .
I'm waiting for your suggestion!Thank you !