FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Command Prompt stay on top
Posts: 208
Joined: Wed Dec 03, 2008 04:48 PM
Command Prompt stay on top
Posted: Tue Aug 31, 2010 07: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

Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Command Prompt stay on top
Posted: Wed Sep 01, 2010 08: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

Continue the discussion