Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Owner Draw ListView Class

Status
Not open for further replies.

StandaK

Programmer
Feb 14, 2003
22
CZ
Hi all,
don't you know where to find good owner-draw ListView class? I just need ListView which knows how to do some of the things for which owner-draw is needed. Do you know some?

Thank you.
 
try with window subclassing

Ion Filipski
1c.bmp
 
Hi IonFilipski, thank you for the suggestion, but I had something else in my mind. I know how to write owner-draw in general, but I was asking whether there is already some CListView-derived class, which would contain all the owner-draw code and which would provide some member functions for comfortable control of its behaviour.
 
Ss I remember you may override the member virtual function DrawItem.

Ion Filipski
1c.bmp
 
Yes, I know I have to override DrawItem() when I want to get owner drawing, but there is lot of the basic code which one must write in order to get owner draw working. And that's why I'm looking for some ready-to-use class, which would already have all this unpleasant stuff done and I would just add things specific for my needs.
 
Take a look in codeguru.com, maybe there is something helpful.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top