Board index » cppbuilder » TListView Ownerdrawn

TListView Ownerdrawn


2008-01-17 07:02:09 PM
cppbuilder96
Hi.
I'm using C++ Builder 2007. I want to owner draw item's in a ListView with
the ViewStyle vsIcon.
OwnerDraw == true; but the function OnDrawItem won't be called! What's
wrong? Did i miss something?
 
 

Re:TListView Ownerdrawn

No one got an idea?
"Jens Marchewka" < XXXX@XXXXX.COM >schrieb im Newsbeitrag
Quote
Hi.

I'm using C++ Builder 2007. I want to owner draw item's in a ListView with
the ViewStyle vsIcon.
OwnerDraw == true; but the function OnDrawItem won't be called! What's
wrong? Did i miss something?
 

Re:TListView Ownerdrawn

Hi Jens
Jens Marchewka says:
Quote
No one got an idea?
I just made a little test and it seem that the onDrawItem
only is called when the listview is in vsReport mode.
But You can use OnCustomDrawItem or OnAdvancedCustomDrawItem
instead.
Kind regards
Asger
 

{smallsort}