views:

10

answers:

0

I need to intercept brightness key press in a device with a hardware keyboard, where that key has the double function of changing brightness and the "0" number: if I can handle it, I can avoid to the user of the application to switch to the numeric keypad in some textboxes that accept only numeric input.

I tried to handle that key even with the unsupported function SetWindowsHookEx (as explained here http://beta.codeproject.com/KB/windows/KeyboardhooksWinCE.aspx?msg=2108222) but I couldn't obtain the result (I've been able to handle some 'system' keys, like the talk one, but not the brightness key).

Is there a way to handle that key?