I need to run the command prompt from some of my programs.
It works fine using WinExe("cmd.exe",1)
But if the user clicks any where from opened command prompt window it is not accessible any more.
In normal situation, the Command prompt can be found at the bottom, at the system tray, this is not a problem.
The problem is that my program runs on completely empty desktop, the task bar is hidden, no visible system tray or Start button, nothing, the entire surface is covered by my program dialog. No command can be issued from outside my program, the only activity is from two buttons "Command" and "ShutDown"
In such case when user opens the command prompt and if he/she click by mistake anywhere from command prompt dialog, the command propmd window is hidden and cannot be accessed again...
My idea was if I can run command prompt with some parameter which will cause this window to stay on top until then user closes it?
Apreciate any idea
Thanks
Boris