R
ropo
I have a .NET 2.0 app that at one point starts an old MFC App through
System.Diagnostics.Process.Start from a model form/
I then wait for it to finish by calling StartedProcess.WaitForExit();
Problem is:
When I close the MFC app if there is an window behind my .NET app it
will come to the front leaving my .NET app at the back.
I've tried calling BringToFront before starting the MFC and after it
has finished but to no avail.
Note: if there is no other windows behind my application it is ok.
Anyone think of anything to try?
System.Diagnostics.Process.Start from a model form/
I then wait for it to finish by calling StartedProcess.WaitForExit();
Problem is:
When I close the MFC app if there is an window behind my .NET app it
will come to the front leaving my .NET app at the back.
I've tried calling BringToFront before starting the MFC and after it
has finished but to no avail.
Note: if there is no other windows behind my application it is ok.
Anyone think of anything to try?