|
-
December 23rd, 2003, 06:48 AM
#1
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!
With best wishes, Alexander Hritonenkov
-
January 7th, 2004, 04:50 PM
#2
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?
Good luck
-
January 7th, 2004, 05:20 PM
#3
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!
With best wishes, Alexander Hritonenkov
-
January 9th, 2004, 09:09 AM
#4
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?
Good luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|