| Autor |
Beitrag |
Larus
      
Beiträge: 431
|
Verfasst: Fr 10.03.06 19:02
Ja der titel sagt es schon...
wie kann ich bei windows, das öffnen des Startmenüs komplett verhindern...
windowstaste sperren nutzt alleine nichts, da bei mir durch einen doppelklick auf den leeren desktop, sich das startmenü dann öffnet Moderiert von raziel: Topic aus Off Topic verschoben am Fr 10.03.2006 um 21:52
|
|
Marco D.
      
Beiträge: 2750
Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
|
Verfasst: Fr 10.03.06 19:43
Moin!
Delphi-Quelltext 1: 2: 3: 4: 5: 6: 7: 8:
| procedure SetStartBtnEnabled(const AEnabled: Boolean); begin EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd',nil), 0, 'Button', nil), AEnabled); end; |
Das wäre eine Möglichkeit
Greetz!
_________________ Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
|
|
alzaimar
      
Beiträge: 2889
Erhaltene Danke: 13
W2000, XP
D6E, BDS2006A, DevExpress
|
Verfasst: Fr 10.03.06 20:19
Entscheide Dich: FindWindow, oder FindWindowEx 
_________________ Na denn, dann. Bis dann, denn.
|
|
Marco D.
      
Beiträge: 2750
Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
|
Verfasst: Fr 10.03.06 20:22
_________________ Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
|
|
alzaimar
      
Beiträge: 2889
Erhaltene Danke: 13
W2000, XP
D6E, BDS2006A, DevExpress
|
Verfasst: Fr 10.03.06 20:27
Mein Fehler, hab die Klammern nicht richtig gezählt. Ist schon alles richtig... 
_________________ Na denn, dann. Bis dann, denn.
|
|
Marco D.
      
Beiträge: 2750
Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
|
Verfasst: Fr 10.03.06 20:50
alzaimar hat folgendes geschrieben: | Mein Fehler, hab die Klammern nicht richtig gezählt. Ist schon alles richtig...  |
Wäre ja auch nen Wunder, wenn im EasyHelper was falsches steht
Ok - einen Tippfehler habe ich schon gefunden bei einer anderen Funktion.
_________________ Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
|
|
Jeppen
      
Beiträge: 39
|
Verfasst: Mi 15.03.06 17:19
geb mal findwindow im google ein.
Da findest du was
MfG,
Jeppen
|
|
alzaimar
      
Beiträge: 2889
Erhaltene Danke: 13
W2000, XP
D6E, BDS2006A, DevExpress
|
Verfasst: Mi 15.03.06 17:59
Marco D. und EasyHelper hat folgendes geschrieben: |
Delphi-Quelltext 1: 2: 3: 4: 5: 6: 7: 8:
| procedure SetStartBtnEnabled(const AEnabled: Boolean); begin EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd',nil), 0, 'Button', nil), AEnabled); end; |
|
Bedeutet:
Schalte das Control vom Typ 'Button', das das Fenster namens 'Shell_TrayWnd' als Parent hat, auf enabled / disabled.
FindWindow - Findet das Fensterhandle
FindwindowEX - Findet den Button
EnableWindow - Schaltet den Buittoni auf Enable/Disable
_________________ Na denn, dann. Bis dann, denn.
|
|
|