Solved

Ownerdraw on CListView...

Posted on 1998-03-18
1
302 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

730 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