Link to home
Start Free TrialLog in
Avatar of SJohnson
SJohnsonFlag for Australia

asked on

Remove app from task list

Hi all.

Is there anyway I can remove my app from the active task list (alt-tab)?  I would also like it to be removed from the shutdown list when you press Ctrl-Alt-Del.

Cheers,

Stu.
ASKER CERTIFIED SOLUTION
Avatar of rwilson032697
rwilson032697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SJohnson

ASKER

Hi Ray,

Although it has removed the entry from the shutdown list, it is still visible when I alt-tab.  Any suggestions?

Stu
Avatar of rwilson032697
rwilson032697

In the DPR do this... (this should hide the task bar icon and make it disappear from the ALT-TAB list...

begin
  IsLibrary := True;
  Application.Initialize;
  IsLibrary := False

  etc...
end.


Cheers,

Raymond.
Another way is to do this:

ShowWindow(Application.Handle, SW_HIDE);

Cheers,

Raymond.

Thanks, Ray.  The combination of all your suggestions worked a treat.  Thanks

Stu.