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
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to