Solved

CListCtrl OwnerDraw Sample project

Posted on 2000-02-28
4
1,697 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now