I've opened a ReAction window which has (among others) the IDCMP_RAWKEY and IDCMP_EXTENDEDKEYBOARD flags set.
Whenever I'm signalled that something has happened with the window I call its WM_HANDLEINPUT method. This is what happens:
When a normal key is pressed the method's result has got the WMHI_RAWKEY bit set and I can parse the raw key as expected. The next result I get is WMHI_LASTMSG.
However, when a multimedia key is pressed I'm still signalled but the very first WM_HANDLEINPUT returns WMHI_LASTMSG. Interestingly the int16 pointed to by wmh_Code contains 0x4000 in this case which matches IMSGCODE_INTUIRAWKEYDATA.
Could be because I can't squeeze any more information out of it. Even GetAttrs(WinObj, WINDOW_InputEvent) doesn't give me any valid data. I guess that's to be expected. I haven't received a WMHI_RAWKEY, so why should it?
So ... am I missing something?
Pressing a multimedia key causes a signal to be sent but WM_HANDLEINPUT doesn't give me anything back?
Any help appreciated. :)