Page 1 of 1

WM_KEY messages for softkey on smartphone

PostPosted: Feb 8, 2003 @ 6:55pm
by Pejo Software - Per

PostPosted: Feb 8, 2003 @ 7:48pm
by angedelamort

PostPosted: Feb 8, 2003 @ 8:40pm
by Pejo Software - Per
Thanks a lot angedelamort!
I would have prefered getting both key up and down messages but I guess I have to settle without it. Very strange though, that you only get WM_KEYUP.
The reason it is called softkey is because it is not associated with a certain function (the function is displayed above the key on the screen).

PostPosted: Feb 9, 2003 @ 3:49am
by Dave H
Are you sure you don't get the WM_HOTKEY message (after registering the hotkey)? Or a WM_COMMAND or something?

Seems crazy that you wouldn't get a WM_KEYDOWN for a softkey... did you check the main message loop for any WM_HOTKEY or WM_KEYDOWN/WM_CHAR/WM_COMMAND/WM_NOTIFY messages?