George Birbilis wrote:
> > >>> Using [ form2.parent:=form1; ] attaches form2 to form1 in-process.
> > >>>
> > >>> What is needed to attach TControl.Parent to an out of
> >
> > process window?
> >
> > >> What do you want to do ?
> > >
> > > Integrate two separate apps into one window.
> >
> > Personally I wouldn't try this.
> >
> > I cannot give a platform independent way, but with win32 api,
> > you can try SetParent. I Doubt if you can reparent windows
> > not owned by you.
>
> Use a "proxy" window either in the current or the other process (whatever
> suits your particular case) that will be the real parent and have logic
> (monitor the other parent) to respond to minimize/close etc. and act upon
> your child too either posting messages to it, or calling OS API on it or
> talk via RPC to a window controller class at the other proc that
> minimizes/closes/etc. a given window of that proc in a Laz RTL way

I suppose this could actually work, but if I were that desperate, I would 
probably reimplement both apps as one app.

Isn't there something lots easier?


Thanks!

--
Al

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

Reply via email to