LVS_OWNERDRAWFIXED setting style problem

  • Thread starter Thread starter Jon Abaunza
  • Start date Start date
J

Jon Abaunza

I want to paint an image (the typical order indicator) in the columns
of the listview. For that purpose I have subclassed the listview and I
try to set the style to LVS_OWNERDRAWFIXED in order to try to get the
WM_DRAWITEM messages of the header items.
When i do it it does not give me any error but the listView content is
not painted and i don't get the WM_DRAWITEM messages. Is it supported?
Should I do it another way?

Thanks in advance Jon
 
The only way that I found to have it working is to create the native ListView
from the scratch instead of modifiying the managed one.
 
That's too much effort for so little results. In the end I will just
append the unicode Character "â–²" and "â–¼" to the name of the
columns. Much more easier! :-)

Thank you for the answer!

Jon
 
Back
Top