owning a process

  • Thread starter Thread starter Alon
  • Start date Start date
A

Alon

Hi,
I have two forms (created by launching two different processes).
I want one of the forms to own the other.
I tried to use something like:
SetWindowLong(otherForm.Handle, GWL_HWNDPARENT, h.ToInt32());
(called from one form) but it seems that it doesn't work.
Does someone knows how to do it?
Thanks,
Alon.
 
What do you mean by different processes? Are each process in their
own executable? Did you launch the process using the Shell method or
function?
 
Back
Top