Einzelnen Beitrag anzeigen

jbg

Registriert seit: 12. Jun 2002
3.481 Beiträge
 
Delphi 10.1 Berlin Professional
 
#3

Re: D2007 Anwendung unter Win98 doppelter Task in Taskbar

  Alt 1. Apr 2008, 11:07
Zitat von mkinzler:
Setzte mal
Application.ShowMainForm := False; im Projekt
Meintest du vielleicht MainFormOnTaskbar?

Besser ist es das Application.Handle in ein WS_EX_TOOLWINDOW zu verwandeln.

Delphi-Quellcode:
uses
  Windows;

begin
  Application.Initialize;
  SetWindowLong(Application.Handle, GWL_EXSTYLE,
    GetWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW);
  // Splashscreen und CreateForm() Aufrufe erst ab hier...
  ...
  Mit Zitat antworten Zitat