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

RE: LVS_OWNERDRAWFIXED setting style problem by a

a
Mon Dec 19 09:25:03 CST 2005

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.

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"Jon Abaunza" wrote:

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

Re: LVS_OWNERDRAWFIXED setting style problem by Jon

Jon
Thu Dec 22 03:53:54 CST 2005

That's too much effort for so little results. In the end I will just
append the unicode Character "=E2=96=B2" and "=E2=96=BC" to the name of the
columns. Much more easier! :-)

Thank you for the answer!

Jon