-
A Keyboard problemmo
H! all
I want to know how to disable the keyboard, that is, to disable EVERY SINGLE button on the keyboard :)
I tried these two methods, but neither worked (I have win2000)
1- Shell ("rundll32 keyboard, disable")
2- and the one with the API call the simulates the screensaver running
none of them work :confused:
any one knows away to do this?
-
Try this api:
Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long
'to disable input
BlockInput True
'to enable input
BlockInput False
I use this to control games such as conter-strike, red alert, but this one fails with virtual pool!!
Enjoy!!
-
But make sure you unblock the input later. Because it blocks completly the input.