<span style="font-family:courier new,monospace">Hi All,<br><br>I try to do some customization in TListView.OnCustomDrawItem:<br><br> r := Item.DisplayRect(drBounds);<br> TextOut(r.Left, r.Top, 'Hello'); <-- this worked<br>
TextRect(r, 0, 0, 'Hello'); <-- this does not work<br><br>Why?<br><br>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...<br>
<br>Thanks,<br>Shannon<br><br></span>