Custom Drawing in a list view

E

Etan Bukiet

Does anyone know how to do custom drawing in a listview.
Custom drawing is when you get called to paint each item/subitem.

i tried creating the control this morning, but it seems that the
listview never gets the wm_notify message for the NM_CUSTOMDRAW.

any help is much appreciated.

etan bukiet
 
J

Jim Paton

If you're trying to pick up the WM_NOTIFY message in the listview's WndProc,
try looking for WM_REFLECT + WM_NOTIFY instead (WM_REFLECT = WM_USER +
0x1C00).

JP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top