Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1782
  • Last Modified:

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.






0
load_o_crap
Asked:
load_o_crap
  • 2
1 Solution
 
V_BapatCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now