Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CListCtrl OwnerDraw Sample project

Posted on 2000-02-28
4
Medium Priority
?
1,757 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 450 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

824 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