From: Peodor on
Hi,

How can I detect if the HW keyboard OK button has been pressed?

From: Gernot Frisch on

"Peodor" <Peodor(a)discussions.microsoft.com> schrieb im Newsbeitrag
news:67B559AF-C528-4DAC-81D2-D720D19EE3EC(a)microsoft.com...
> Hi,
>
> How can I detect if the HW keyboard OK button has been pressed?
>

Google for GetAsyncKeyState()

I think it was GetAsyncKeyState(VK_TDOWN)&0x8000)

softkey1 softkey2 VK_TSOFT1, VK_TSOFT2
^ VK_TUP
< + > VK_TLEFT, VK_TACTION, VK_TRIGHT
v VK_TDOWN
home back VK_THOME, VK_TBACK
talk end VK_TTALK, VK_TEND
1 2 3 VK_T0..VK_T9
4 5 6 ...
7 8 9 ...
* 0 # VK_TSTAR, VK_TPOUND
// other buttons include
VK_TRECORD
VK_TPOWER, VK_TVOLUMEUP, VK_TVOLUMEDOWN
VK_TFLIP