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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top