[C#] To block the keyboard ?

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
 
D

Darren Beckley

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

Call it with 1 to enable, 0 to disable.

Hope that helps,
Darren
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top