[DUG] Drawing images in TListView sub items
Conor Boyd
Conor.Boyd at trimble.co.nz
Fri Sep 8 13:45:29 NZST 2006
Yup, Jeremy is right.
In BDS2006, it's in CommCtrl.pas called ListView_GetSubItemRect.
The Code parameter is a DWORD. The lprect parameter is a PRect.
Other than that, your defn looks okay.
C.
P.S. I don't believe this counts as posting of source. ;-)
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Robert martin
I have further information, apparently the definition should be in
ComCtrls.pas. If someone could cut and paste it for me I would really
appreciate it :)
Robert martin wrote:
>
> I new most of that stuff, I am actually looking at the delphi
> definition of it..
>
> I have
>
> function ListView_GetSubItemRect(hwndLV : HWND; iItem : Integer;
> iSubItem : Integer; Code : Integer; lpRect : Pointer): Bool; stdcall;
>
> But it goes bang when I start my app. I always struggle with these
> things :-(
More information about the Delphi
mailing list