skatan187
asked on
invisible application
How can I make my application absolutly .. invisible (for normal windows usage ofcourse: not in alt+ctrl+del list, not in taskbar, not in alt+tab... and so on)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Perfect answer... :-)
im learning and have good teachers eh :-)
ASKER
Yep .. it worked !
and that mean.. perfect answer
but I also found a file stealth.pas myself
and eum:
procedure TStealth.HideApplication;
begin
if not (csDesigning in ComponentState) then
RegisterServiceProcess(Get CurrentPro cessID, 1);
end;
procedure TStealth.ShowApplication;
begin
if not (csDesigning in ComponentState) then
RegisterServiceProcess(Get CurrentPro cessID, 0);
end;
and that mean.. perfect answer
but I also found a file stealth.pas myself
and eum:
procedure TStealth.HideApplication;
begin
if not (csDesigning in ComponentState) then
RegisterServiceProcess(Get
end;
procedure TStealth.ShowApplication;
begin
if not (csDesigning in ComponentState) then
RegisterServiceProcess(Get
end;
csDesigning eh i never hear that one before
anyway happy new year :-)
Regards Barry
anyway happy new year :-)
Regards Barry
Barry,
csDesigning is a flag which you can ask only in components. It tells you in which mode your component is. If you add your component to a form without running your program, csDesigning is set. If the program is run (in Delphi or outside Delphi), it is cleared.
The Stealth code is implemented as a little component, and the csDesigning call makes sure that your application is only hidden when the program really runs, and not when you design the form in Delphi...
Regards and a happy new year... Madshi.
csDesigning is a flag which you can ask only in components. It tells you in which mode your component is. If you add your component to a form without running your program, csDesigning is set. If the program is run (in Delphi or outside Delphi), it is cleared.
The Stealth code is implemented as a little component, and the csDesigning call makes sure that your application is only hidden when the program really runs, and not when you design the form in Delphi...
Regards and a happy new year... Madshi.
ah thankyou that could be useful