Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#7

Re: [Alt]+[Tab] Eintrag entfernen

  Alt 2. Jan 2007, 16:13
Ok danke, werds mir mal anschauen

EDIT: Guckt mal pls.. (wollte jetzt nicht pushen aber ich hoffe das sieht jemand )

Zitat:
WS_EX_TOOLWINDOW
Creates a tool window; that is, a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar. However, you can display the system menu by right-clicking or by typing ALT+SPACE.
Delphi-Quellcode:
// So hab ichs probiert
  SetWindowLong(Application.Handle,GWL_EXSTYLE,
                GetWindowLong(Handle,GWL_EXSTYLE)
                or WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
Aus der Taskleiste verschwindet das Fenster aber nicht aus [Alt]+[Tab]... Müsste aber doch eigentlich oder? Nach der Beschreibung...

EDIT2: Mh man muss das sowohl auf die Anwendung als auch auf das Formular selbst anwenden dann gehts...

Gruß
Neutral General
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat