Retrieving the state of Compact Framework modifier keys

How can I get the state of the modifier key using VB.NET on Compact Framework, in this case Windows Mobile 6.1. I want to determine if the following keys are pressed or blocked:

Shift CTRL ALT

and for Psion Teklogix machines orange blue Although I can fix this if I can identify the others.

I want to create my own on-screen indicator bar and I want to poll the keys and not use events.

+1


source to share


1 answer


So there is the AllKeys function. Probably the best way to go today.

just say no to GAPI - what you need to know about AllKeys and input management.



And that link should give you a P / Invoke to use in managed code.

Capture all keys of a Windows Mobile device using the AllKeys API

0


source







All Articles