[DUG] Assigning a forms parent
Nicholas Sherlock
n_sherlock at ihug.co.nz
Wed Apr 5 19:29:14 NZST 2006
Jeremy Coulter wrote:
> Hi All.
> I have an app. that I would like to "Try" and assign the form to
> another running app.
>
> The other app. is an MDIparent, and I want to make it "appear" as if
> the other apps form is just another form in the other application.
>
> I tried setting the forms parenthandle to the handle of the other app,
> but it didnt really work.
>
> Anyone got any ideas?
>
So... you want a window from an external application to be embedded in
your window? If all else fails, you could probably intercept the
target's CreateWindow and set the parent to your window along the way.
Cheers,
Nicholas Sherlock
More information about the Delphi
mailing list