Hi Max, It does not work.
FindControl return nil. I guess that shell application which contains handle can't be accessed by in process com server. Regards Leigh -----Original Message----- From: Max Nilson [mailto:[EMAIL PROTECTED] 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
