|
-
Apr 15th, 2000, 03:29 PM
#1
Thread Starter
Addicted Member
hi @ll!
i want to make a program, that locks the keyboard or only special keys like "a" or "6" or the return-key. but i don't know, what api to use..... 
because the key have to be locked in ANY windows-program, like it isn't plugged to the comp.
-
Apr 15th, 2000, 08:16 PM
#2
Fanatic Member
Diabling keys
Use "Key OFF(<Key No.>)" statement to disable any key you want when your program is running. For more info. see the help file of vb6 or Qbasic b'coz almost all statements of Qbasic can be used in VB6 with same syntax.
-
Apr 15th, 2000, 08:30 PM
#3
Thread Starter
Addicted Member
???
i studied the help file (msdn) but there was no key off event or sthin similar....
i tried the search-function but i only found the "getkeyboardstate" and "setkeyboardstate" api call.
i want to disable the keyboard or only some keys, so that you cannot write anythin
im i able to do that with the api (setkeyboardstate) or with any vbfunction
pls
hlp!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|