Autor Beitrag
Jan11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 62



BeitragVerfasst: So 12.02.06 17:28 
hallo,
ich hab ein programm, und das soll gar in der taskleiste oder im systray erscheinen, es soll einfach so ganz still ausgeführt werden, wie geht das?
Grishnak
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 221

Windows XP Home
Delphi 7 PE, Delphi 2005 PE
BeitragVerfasst: So 12.02.06 17:31 
Warum muss das Programm denn so versteckt und heimlich laufen?

_________________
Mach' etwas idiotensicher und irgendjemand erfindet einen besseren Idioten!
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 12.02.06 17:32 
user profile iconJan11 hat folgendes geschrieben:
und das soll gar in der taskleiste oder im systray erscheinen

Meinst du: und das soll gar nicht in der taskleiste oder im systray erscheinen?

Dann so:
ausblenden Delphi-Quelltext
1:
application.showmainform:=false;					


Das schreibst du am Besten ins OnCreate-Ereignis deines Hauptformulars.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 12.02.06 17:34 
user profile iconGrishnak hat folgendes geschrieben:
Warum muss das Programm denn so versteckt und heimlich laufen?


Das würde mich auch mal interessieren! Trojaner etc. werden vom DF nicht unterstützt...

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Jan11 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 62



BeitragVerfasst: So 12.02.06 17:40 
nein, die mainform ansich soll sichtbar sein, es soll bloß in diesen leisten nich angezeigt werden.

es ist eine 2. startleiste in der alle meine oft benutzen programme stehen, weil ich diese Desktop unordnung auf dem desktop nich ausstehen kann, und auch nich will, dass ich da unten die ganze zeit nen programm stehen habe, deshalb bitte keine taskleisten einträge

application.showmainform:=false;

dabei wird doch die mainform nich gezeigt, oder?
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 12.02.06 17:42 
user profile iconJan11 hat folgendes geschrieben:
dabei wird doch die mainform nich gezeigt, oder?

Das ist richtig. Das lässt sich aber vielleicht über eine Message an die Taskbar lösen (nur habe ich davon null Ahnung)

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: So 12.02.06 17:53 
Hach wie einfach wäre doch alles, wen man mal die Suche bemühen würde:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.FormShow(Sender: TObject);
begin
  ShowWindow(Application.Handle, SW_HIDE);
end;