[SOLVED] Launched programs appearing behind other windows
Posted: Thu May 09, 2013 10:24 am
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?