Hi All,
I try to do some customization in TListView.OnCustomDrawItem:
r := Item.DisplayRect(drBounds);
TextOut(r.Left, r.Top, 'Hello'); <-- this worked
TextRect(r, 0, 0, 'Hello'); <-- this does not workWhy?
Another question which I cannot google any answer is, what's the meaning of TDisplayCode? I don't want its values which is obvious, but the meaning of each value, e.g. drBounds, drLabels etc. Not documented anywhere...
Thanks,
Shannon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130309/d1b8e322/attachment.html>
