Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Daniel Schuhmann,
7. Nov 2006
Ging meine Idee nicht?
Alphablending geht nur bei Windows 2000 und XP (jaaa, und 2003 und Vista).
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Daniel Schuhmann,
7. Nov 2006
Warum nicht einfach die Abfrage ins OnCreate der Form reintun und dort ShowMainForm einfügen? Das spart die ganze OnActivate-Geschichte.
procedure TForm1.FormCreate(Sender: TObject);
begin
If FindCmdLineSwitch('tray') then
begin
Application.ShowMainForm := False;
TrayIcon.Visible := True;
end;
end;