如何在Compact Framework上使用VB.NET获取修饰键的状态,在本例中为Windows Mobile 6.1。我希望能够确定是否按下或锁定了以下键:
移 CTRL ALT
和Psion Teklogix机器 橙子 蓝色 虽然我可以解决这个问题,但如果我可以确定其他人的话。
我想创建自己的屏幕指示器面板,并希望轮询按键,而不是使用事件。
答案 0 :(得分:0)
所以有AllKeys功能。可能是今天最好的方式。
just say no to GAPI – What you need to know about AllKeys and input management.
此链接应该为您提供在托管代码中使用的P / Invoke。
Capture all Windows Mobile device keys using the AllKeys API