[DUG] By giving a hwnd handle

Leigh Wanstead leighw at softtech.co.nz
Fri Aug 4 09:35:39 NZST 2006


Hi Max,

Thanks

I will try it.

Regards
Leigh

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz]On Behalf Of Max Nilson
Sent: Thursday, 3 August 2006 7:16 p.m.
To: leighw at softtech.co.nz; 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] By giving a hwnd handle


Leigh Wanstead asked:

> By giving a hwnd handle, how to get TWinControl back?

Use FindControl as defined in Controls.pas defined as:

function FindControl(Handle: HWnd): TWinControl;

Cheers, Max.


_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi




More information about the Delphi mailing list