This is the only thing that comes to me.  Under windows it would look like
this...

procedure TYourForm.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
   with Params do begin
    WndParent := GetDesktopWindow; << Try the handle to your other window
outside the process?
  end;
end;

I didn't try it for windows outside, and I use it for setting the parent
window to the Desktop using GetDesktopWindow;




-----Original Message-----
From: Jernej L. [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 03, 2006 7:39 AM
To: [email protected]
Subject: Re: [lazarus] Attaching TControl.Parent to an out of process window

with delphi on win32 you can use windows.SetParent, lazarus has
probably a unit where you can use this same function.


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to