[C#] Enable / Disabled Keyboard

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is it possible to desactivate all key on the keyboard and after activate
only 2 keys on the keyboard ?

Thanks

Best Regards
 
What is your end user goal?

You can listen for the key pressed and decide in code whether to accept or
reject the input. There are examples in the archives of listening for key
input either via the KeyXX event handlers or through message filters.

Cheers
Daniel
 
But, in general, no, there's no way to do that unless there's some type of
custom capability built into the keyboard driver.

Paul T.
 
Back
Top