Command Prompt stay on top

Command Prompt stay on top

Postby codemaker » Tue Aug 31, 2010 7:48 pm

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
User avatar
codemaker
 
Posts: 208
Joined: Wed Dec 03, 2008 4:48 pm
Location: Belgrade, Serbia

Re: Command Prompt stay on top

Postby hua » Wed Sep 01, 2010 8:51 am

Whenever the need arise I use http://www.fadsoft.net/AlwaysOnTopMaker.htm , a freeware to keep whatever windows I need always on top
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 48 guests