[DUG] By giving a hwnd handle

Max Nilson max at accredo.co.nz
Thu Aug 3 19:15:52 NZST 2006


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.




More information about the Delphi mailing list