Hi.
My installer eventually launches the installed application (using exec) but the launched application is in the background.
How can I set the executed application to be in the foreground?
Thanks.
Bring executed process to foreground?
3 posts
Try using System plug-in with SetWindowPos API call (http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx) with hwnd of the launched app.
Where would he get the HWND from?Originally Posted by T.Slappy View PostTry using System plug-in with SetWindowPos API call (http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx) with hwnd of the launched app.
If the application is slow to start up you should use the MUI function callback for the run checkbox and there you can call ExecShell+Sleep...