-
PocketPC hardware keys
Hello, everybody.
I need to gain access to PocketPC's hardware buttons.
It's quite simple with up/down/left/right buttons. They send me a WM_KEYDOWN message. But how to deal with other buttons (which are usually mapped to run applications) ?
I found the GXOpenInput() function. But this function is buggy (it changes up/down keycodes but the old keycodes are still coming to my application) and it gives me only 3 of 4 front buttons' keycodes.
Is there another way?
Thanks!
-
Did you solve this problem ?
I thought the buttons are hot keys and I can use RegisterHotKey and that will work like it written in MSDN. I was mistaken.
So can you tell me what to do?
-
Fortunately I found one useful site. Try to look here:
http://www.pocketpcdn.com/articles/h...ware_keys.html
Also you can download sample application source here: http://www.pocketpcdn.com/articles/s...eKeySample.zip
Good luck!
-
I found a function: SHSetAppKeyAssoc.
It works exactly as I wanted.
I saw this arcticle (with undocumented function). I don't know why somebody needs it. Do you have any idea?