I am not getting a WM_KEYDOWN message when pressing the softkeys on the smartphone emulator even though I have called GXOpenInput.
Do I have to create a menubar?
There no event WM_KEYDOWN on soft key. Only a WM_KEYUP. I think that's why it's called soft key instead of just key. I've tryed a lot of things to get the event but with no success.
P.S.
But if there a way to get the key down, I would be happy to know it :)
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).
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?