[C#] To block the keyboard ?

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

Guest

Hi,

I work with PDA which have a physical keyboard.
I'd like to block the keyboard in my application by programmation.
Is it possible ?

Thanks.

Best Regards
 
[DllImport("coredll.Dll")]
private static extern int EnableHardwareKeyboard(int bEnable);

Call it with 1 to enable, 0 to disable.

Hope that helps,
Darren
 
Thanks. It's perfect.

Best Regards

Darren Beckley said:
[DllImport("coredll.Dll")]
private static extern int EnableHardwareKeyboard(int bEnable);

Call it with 1 to enable, 0 to disable.

Hope that helps,
Darren


Freddyboy said:
Hi,

I work with PDA which have a physical keyboard.
I'd like to block the keyboard in my application by programmation.
Is it possible ?

Thanks.

Best Regards
 
Back
Top