in reply to Re^2: Bring Win32 command window to foreground
in thread Bring Win32 command window to foreground
Thanks to both of you for your help. That is what I was looking for but for some reason my console window won't actually come to the foreground.
I have a perl script that launches another application, i.e. Matlab, so the console window can't be seen in the background. If I do call the ShowWindow() API the console window isn't brought to the foreground in front of the matlab application. Any thoughts on this?