Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Prism How to write a porg without usable of the windows-key (https://www.delphipraxis.net/110143-how-write-porg-without-usable-windows-key.html)

Der Elch 13. Mär 2008 15:33


How to write a porg without usable of the windows-key
 
Hello, i want to write a program which blocks the windows-key and any combination with it.
Did someone know an algorithm for doing this?
I´d be very grateful

Yours sincerely "Der Elch"

Larsi 13. Mär 2008 15:37

Re: How to write a porg without usable of the windows-key
 
Hi,
You should use the search-function in the DelphiPraxis. There are a lot of examples for that, i think! All you need are hooks.


MFG Lars Wiltfang




Sorry für das schlechte Englisch, lern noch in der Schule^^
Soryy for the bad English!

Der Elch 13. Mär 2008 19:17

Re: How to write a porg without usable of the windows-key
 
np I´m too ^^

(schau ma auf den namen ...^^)

Die Muhkuh 13. Mär 2008 19:18

Re: How to write a porg without usable of the windows-key
 
Sicher, dass Du es mit .NET machen willst und nicht mit Win32?

mkinzler 13. Mär 2008 19:23

Re: How to write a porg without usable of the windows-key
 
Warum willst du die Taste sperren?

Larsi 14. Mär 2008 06:06

Re: How to write a porg without usable of the windows-key
 
Warum du auf Englisch schreibst finde ich viel interessanter^^

Der Elch 14. Mär 2008 10:59

Re: How to write a porg without usable of the windows-key
 
nuja, das englisch war aus spaß un langeweile, aber sperren will ich die weil ich nen programm geschrieben hab, welches als art screensaver verwendet werden soll, das problem is windows+d un alt+tab zb funzen noch, womit die sicherheit nicht ausreichend gewährleistet ist.
das will noch beheben bevor ich mit der nächsten ergänzung für mein programm weitermachen will, denn ohne das is der rest sinnlos.

Der Elch 14. Mär 2008 11:01

Re: How to write a porg without usable of the windows-key
 
btw: is für die schule, soll heißen nix mit admin un iwelchen pfuschereien, was mein größtes problem is.

mkinzler 14. Mär 2008 11:03

Re: How to write a porg without usable of the windows-key
 
Wie wäre es, wenn du den satz so formulieren könntest, dass ich ihn verstehe?

Der Elch 14. Mär 2008 11:52

Re: How to write a porg without usable of the windows-key
 
was verstehst du daran nicht

Luckie 14. Mär 2008 11:58

Re: How to write a porg without usable of the windows-key
 
Zitat:

Zitat von Der Elch
was verstehst du daran nicht

Den kompletten Satz. "un"? "iwelchen"? Was meinst dumit der aussage "nix mit Admin"? Und was für Pfuschereien meinst du?

Der Elch 14. Mär 2008 12:11

Re: How to write a porg without usable of the windows-key
 
äh ok, nochmal auf hochdeutschen:

nebenbei: das Programm ist für die Schule, d.h. ich hab keine administrationsrechte, daraus folgt ich kann auch nicht inder Registry oder wo auch immer etwas ändern.



sonst noch Fragen?

mkinzler 14. Mär 2008 12:17

Re: How to write a porg without usable of the windows-key
 
Ja: http://www.delphipraxis.net/internal...=858425#858425

Es gibt sicher eine bessere Lösung

Macci 14. Mär 2008 20:17

Re: How to write a porg without usable of the windows-key
 
So geht's z.B.

Delphi-Quellcode:
var  wl:TKhWinLock;
....
wl:=TKhWinLock.Create(Form1);
wl.noAltTab:=True;
wl.noAltEsc:=True;
wl.noCtrlEsc:=True;
wl.noWinkeys:=True;
wl.noTaskbar:=True;
Dazu brauchst du noch diese Komponente:
http://www.torry.net/vcl/system/packs/KhUtilsD9.zip

Viele Grüsse,
Macci

PS: Ctrl+Alt+Del kannst du damit übrigens unter Win XP nicht sperren. Dazu musst du entweder den Taskmanager in der Registry deaktivierenn oder einen eigenen Tastaturtreiber schreiben. Für beides dürften dir am Schulcomputer die nötigen Rechte dafür fehlen.

toms 15. Mär 2008 06:22

Re: How to write a porg without usable of the windows-key
 
Hi, you can find a complete example here to black the windows key combinations:


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:23 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz