Solved

Ownerdraw on CListView...

Posted on 1998-03-18
1
300 Views
Last Modified: 2013-11-19
I make a view from CListView with the LVS_OWNERDRAWFIXED style, and I try to catch the Windows Message ON_WM_DRAWITEM(), but nothing get in this functions. Any Idea...

deesse.
0
Comment
Question by:deesse
1 Comment
 
LVL 11

Accepted Solution

by:
mikeblas earned 50 total points
ID: 1317066
In a CListView, you shouldn't try to trap the message yousrelf. Instead, let MFC reflect it for you.  See the ROWLIST sample on the product CD for a good example of doing an ownerdrawfixed list view control in a CListView.

.B ekiM
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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