Hi Max,

Thanks

I will try it.

Regards
Leigh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Max Nilson
Sent: Thursday, 3 August 2006 7:16 p.m.
To: [EMAIL PROTECTED]; '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
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to