Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable All Keypresses 3

Status
Not open for further replies.

abrogard

Technical User
Sep 13, 2002
58
AU

I'm writing something to enable my little baby to play with the keyboard.

This means catching the keypresses and providing an appropriate sound and picture.

Slow job.

So I want to be able to disable all keypresses that I am not currently catching, so that nothing at all happens.

Particularly so that he doesn't inadvertently throw up a menu or initiate some other programme or somesuch.

I've got two lists of keys and the code I can check for - two different 'methods' - and it is still not complete. So I'd also like, if possible, a complete list of all keys and the codes I can check for so that eventually I can complete the job and provide a handler for each and every key, upper case and lower case, even Alt+key, perhaps, though it's obviously far from necessary for a baby but it is sort of 'central' to computing and keyboard usage. Same with Ctrl+key.

Any and all help much appreciated.
 
Abrogard said:

"I just want him there, in the prog, hacking away and from time to time getting responses I've programmed.

But currently he can't play for a couple of minutes without he's got the Start menu up or some other such thing.. he's lost the programme completely.

So - how to keep people locked into your prog? I've had my computer hung up often enough by some prog that I can't get out of. So it happens somehow, rightly or wrongly.

I've got an interest in this from a purely programming point of view, regardless of this little prog for Henry."


Svanels,i hope that Abrogard knows how to fill my empty form !!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top