Page 1 of 1

[SOLVED] Launched programs appearing behind other windows

Posted: Thu May 09, 2013 10:24 am
by blackwind
I've noticed that, after a seemingly random period of time, any program I launch via an EventGhost shortcut situates itself behind all my other windows and flashes its taskbar entry rather than becoming the topmost window. I tried jamming a BringHwndToFront() in the System.Execute code, but this often brings the wrong window to the front, seemingly because the hWnd returned in processInformation is often incorrect. Restarting EventGhost temporarily corrects the problem, but doing this every few hours is, to say the least, annoying. Any thoughts on how we can resolve (or even troubleshoot) this?

Re: [SOLVED] Launched programs appearing behind other window

Posted: Wed Apr 30, 2014 2:26 am
by blackwind
Finally found the perfect solution.

Re: [SOLVED] Launched programs appearing behind other window

Posted: Sun May 04, 2014 10:52 pm
by blackwind
...and wouldn't you know it, my solution works without issue for over two months, and as soon as I post it, that's when it fails.

Patch updated. I've figured out how to reproduce the issue, so I'm confident this will be the final patch.