Solved

CListCtrl OwnerDraw Sample project

Posted on 2000-02-28
4
1,705 Views
Last Modified: 2013-11-20
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
Comment
Question by:load_o_crap
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
V_Bapat earned 150 total points
ID: 2564959
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
 
LVL 9

Expert Comment

by:cdesigner
ID: 2565896
ownerdraw function will be work only with more than 1 column
0
 

Author Comment

by:load_o_crap
ID: 2567050
my email is at load_o_crap@hotmail.com

thanks
0
 

Author Comment

by:load_o_crap
ID: 2572020
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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question