c# - How to catch ALL hardware keys of a PDA with Windows Mobile 6.1 - Compact Framework? -
i'm developping windows mobile application pda using compact framework 3.5. have form , need catch all hardware keys of pda:

so, if press number button, "send" button, or "camera" button want know button pressed.
i tried using keydown end keyup event of form, not keys intercepted. tried pinvoke allkeys api, in way can disable/enable key excepts camera key, , not want.
i need complete control of hardware keys. how can do?
you can catch keys produce keyboard messages: http://www.hjgode.de/wp/2012/09/20/windows-mobile-cf-how-to-catch-f1-and-f2-in-weh/
if key not issue keyboard message (like example scan button on intermec issues named event) cannot catch it. possibly oem provides sdk these keys too.
see http://www.hjgode.de/wp/2011/12/20/windows-mobile-the-no-go-world-of-function-keys/
Comments
Post a Comment