Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

Totally hide my application to any service of windows

Hi all. I'm wondering if you can make your program <u>totally</u> invisible for windows task manager. I tryed some stuff once. Well it just hides the windows, but when you press ALT-TAB you still see it.

If someone can help me, please send me some code.
Would be very appreciated

(Using Delphi 6 & Win9x & WinNT/2k)
0
TheBluePanther
Asked:
TheBluePanther
1 Solution
 
DragonSlayerCommented:
umm... try this?

RegisterServiceProcess(GetCurrentProcessId(), 1); to remove from task manager

and this:

var
  ExtendedStyle: Integer;
begin
  ExtendedStyle := GetWindowLong (Application.Handle, GWL_EXSTYLE);
  SetWindowLong(Application.Handle, GWL_EXSTYLE,
     ExtendedStyle OR WS_EX_TOOLWINDOW AND NOT WS_EX_APPWINDOW);
end;

to remove from Alt+Tab
0
 
intheCommented:
hi,
the above will work great on win9*..

but nt/2000 is no chance ..very difficult
(not impossible but may as well be for them.)
0
 
TheBluePantherAuthor Commented:
Thank u very much m8.
It works perfect :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now