[DUG] By giving a hwnd handle
Leigh Wanstead
leighw at softtech.co.nz
Thu Aug 3 17:03:49 NZST 2006
Hello everyone,
By giving a hwnd handle, how to get TWinControl back?
varMemo: TMemo;
varMemo := SomeSortOfWay(Memo1.Handle);
The reason for that is the control needs to be passed around com interface,
HWND is the just a pointer(Integer value), so it is safe to pass across com
interface boundary.
TIA
Regards
Leigh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060803/91a0be86/attachment.html
More information about the Delphi
mailing list