Trapping windows key and ctrl alt delete
BlitzPlus Forums/BlitzPlus Programming/Trapping windows key and ctrl alt delete
| ||
I'm writing a game for kids, and it runs in full-screen mode, and I want to trap all key presses so they don't hit ctrl alt delete, ctrl esc, alt tab, or the windows key. Is this possible? Can it be done without 3rd party DLL's? |
| ||
Interesting question, I was wondering the same myself actually. |
| ||
Hi, interested also, did you find a way to do this? Cheers, LW |
| ||
each key is a valid scan code if key ctrl do nothing etc but locking the user out of ctrl+alt+del or alt+tab and any other way of breaking out of a non responsive program is irksome assuming the program never breaks locking you out of said retreval methods, you could have a parental lock key that the average kid would have no need to press eg scroll lock and if that has been pressed it opens up the use of ctrl etc for 30 seconds |
| ||
Blocking/trapping ctrl-alt-delete is (supposed to be) impossible. The keypress is sent directly from some very low-level process (maybe the BIOS, but I think it's the kernel) to WinLogon.exe, which means that ctrl-alt-delete is never registered by any other process. |
| ||
It is possible, discussion here: http://www.autohotkey.com/forum/topic15702.html |