Programm _must not_ appear in taskbar

Hello!

 How to make that: my (Delphi2) programm mustn't appear in taskbar.
vladimir_Asked:
Who is Participating?
 
kimfriisConnect With a Mentor Commented:
Here is the code for the .dpr file, that should do the trick:

program NotInTaskbar;

uses
  Forms, windows,
  main in 'main.pas' {Form1};

{$R *.RES}

begin
  Application.Initialize;
  Application.ShowMainForm := False;
  Application.CreateForm(TForm1, Form1);
  ShowWindow(Application.Handle,SW_HIDE);
  Application.Run;
end.


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.

All Courses

From novice to tech pro — start learning today.