CListCtrl OwnerDraw Sample project

I really need a fully functional sample project to play around with the OwnerDraw function of CListCtrl. Ive tried the coding from CodeGuru and it doenst seem to work...

I havent the feigntest idea why... the code fragments didn't quite explain how to play around with owner draw on a CListCtrl..

ive tried subclassing the CListCtrl but it still didn't work..

so a sample project would really help especially in Coloring individual rows/columns and playing around with the font...

I cannot use Custom Draw as it is not an option,


thanks.






load_o_crapAsked:
Who is Participating?
 
V_BapatConnect With a Mentor Commented:
Try the rowlist sample in MSDN help.

I have modified this sample for row coloring. I can send you my project if you give me your email-id.

Vicky
0
 
cdesignerCommented:
ownerdraw function will be work only with more than 1 column
0
 
load_o_crapAuthor Commented:
my email is at load_o_crap@hotmail.com

thanks
0
 
load_o_crapAuthor Commented:
Hey.. thanks for the sample project,
anyway.. i found out why my codes didn't work
its becoz i did declare my drawitem as virtual..

really annoying :) But thanks

i'll give u the points anyway
0
All Courses

From novice to tech pro — start learning today.