Teen Programmers Unite  
 

 

Return to forum top

help!

Posted by whizkide [send private reply] at September 15, 2002, 01:47:16 PM

do u guys know the code to disable the keyboard keys from workin....I mean C++ code.

Posted by jay_dee [send private reply] at September 15, 2002, 04:09:12 PM

Why do you want to do that?

Posted by CodeRed [send private reply] at September 15, 2002, 04:26:01 PM

What you mean in windows? Good luck, the keyboard works on an interupt I believe, it is a low level process embedded in the OS. You could, however, disable the keyboard from working in YOUR programs, just do nothing when you get a keydown message.

Posted by whizkide [send private reply] at September 15, 2002, 06:04:39 PM

hellloooooooooooooooo that wasnt me. i just happened to be using my school's computer and forgot to sign out. some punk, probably lekkie, capitalized on that aqnd made the silly post. Anyone on tpu would know that aint me. watch out for my signature!!!
whizzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Posted by buzgub [send private reply] at September 15, 2002, 08:05:16 PM

under windows, this would probably be doable by installing a hook to catch all keyboard messages, then not letting them pass up through the queue. There's an example of this style of thing by Mike_L on tamale.net, but I'll say no more because it sounds malicious.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.