Sign in to follow this  
Geronimo2000

Disabling keyboard input in Windows2000

Recommended Posts

This is a very refined 2-part question.... 1. What is the keyboard command/shortcut for disabling keyboard input on Windows 2000? I have done this before, but I forgot what it was exactly, and I can't find a reference to it online. 2. Could this command be emulated using SendMessage in a Win32 environment? I know there are easier and cleaner ways to suppress user input, but I am experimenting with this for now. Thanks in advance for any help you can provide.

Share this post


Link to post
Share on other sites
That's interesting. I actually wasn't going to intercept any Windows messages. I just wanted to send some if it was even workable.

I don't believe the keyboard command was some sort of secret - I just figured it was so rarely used that they didn't bother documenting it(?)

Share this post


Link to post
Share on other sites
you have to write a low level keyboard driver to intercept messages from the keyboard for win-specific special keys. Or so some registry editing. I know you can not intercept cTRL+ALT+DEL without using a custom GINA or a low level key board driver. Good luck.


- Mike

Share this post


Link to post
Share on other sites
Disabling the complete keyboard input under Windows is plain "stupid". Why would you disable all keyboard input?

It's pretty hard to do, and as said, you need to rewrite your own complete GINA DLL. I never wrote one, and installing it isn't easy either. I wouldn't bother writing it.

Share this post


Link to post
Share on other sites
It looks like he's not looking for a programable way to disable the keyboard, at least not in the first question. Rather an actual windows hotkey combination that disables the keyboard, presumably independant of his application. It's possible such a thing exists, but I've never heard of it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this