![]() |
Re: MainForm nicht in der Taskleiste anzeigen!
Danke für die Nachhilfe!
So habe ich das noch nie gesehen! Aber jetzt hat es "KLICK" gemacht... :idea: Aber mein Problem ist damit auch nicht gelöst! Das ist schade... Dank Dir nochmals... Gruß Michael! |
Re: MainForm nicht in der Taskleiste anzeigen!
Ich habe evtl noch eine Idee ;-) (aber nur wenn ich die Fragestellung noch richtig im Kopf habe ;))
OK versuch es mal so:
Delphi-Quellcode:
bzw.
SetWindowLong( Application.Handle, GWL_EXSTYLE,
GetWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
Delphi-Quellcode:
Mit dem ersten wird die gesamte Anwendung aus der Taskbar herausgenommen. Evtl musst du, wenn es das 2. nicht funktioniert, den ersten Code nehmen und dann jedes Form wieder in die Taskbar einfügen.
SetWindowLong( Form1.Handle, GWL_EXSTYLE,
GetWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW); Kannst du dann glaube ich so machen:
Delphi-Quellcode:
Ich hoffe das hilft dir jetzt ;-) In meinem Programm lasse ich es auf jedenfall so :mrgreen:
SetWindowLong(Handle, GWL_ExStyle, WS_Ex_AppWindow);
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:58 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz