Autor Beitrag
Larus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 431



BeitragVerfasst: 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 user profile iconraziel: Topic aus Off Topic verschoben am Fr 10.03.2006 um 21:52
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 10.03.06 19:43 
Moin!
ausblenden 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
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Fr 10.03.06 20:19 
Entscheide Dich: FindWindow, oder FindWindowEx :wink:

_________________
Na denn, dann. Bis dann, denn.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 10.03.06 20:22 
user profile iconalzaimar hat folgendes geschrieben:
Entscheide Dich: FindWindow, oder FindWindowEx :wink:

Das ist ausm EasyHelper kopiert. Keine Ahnung wie das richtig heißen muss :nixweiss:

_________________
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
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Fr 10.03.06 20:27 
Mein Fehler, hab die Klammern nicht richtig gezählt. Ist schon alles richtig... :oops:

_________________
Na denn, dann. Bis dann, denn.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 10.03.06 20:50 
user profile iconalzaimar hat folgendes geschrieben:
Mein Fehler, hab die Klammern nicht richtig gezählt. Ist schon alles richtig... :oops:

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
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 39



BeitragVerfasst: Mi 15.03.06 17:19 
geb mal findwindow im google ein.

Da findest du was

MfG,

Jeppen
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Mi 15.03.06 17:59 
user profile iconMarco D. und EasyHelper hat folgendes geschrieben:

ausblenden 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.