Ownerdraw on CListView...

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...

Who is Participating?
mikeblasConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.