Non Blocking Keyboard on WinCE accessing the virtual keyboard

Posted by Jan H. on Stack Overflow See other posts from Stack Overflow or by Jan H.
Published on 2009-10-26T13:48:47Z Indexed on 2010/03/31 11:03 UTC
Read the original article Hit count: 1503

Filed under:

Hello Guys,

I am desperately looking for a solution that enables me to read keyboard events in a non blocking way. These Keyboard events are generated by a VIRTUAL KEYBOARD that comes with the WinCE device. I have a console application running in C++, where the user is asked to navigate via 'ESC', 'U' and other characters through the menu. I first tried to use fread and stdin and realised that it is blocking call and waits for a carriage return. Then I tried to hook up to the windows message WM_KEYUP, but I never recieve this windows message. Furthermore I tried to use QtGUI together with the event QKeyEvent, but I never recieve any event. I wonder if it is in general possible to recieve non-blocking keyboard events on a WinCE device. I would be glad if you have any suggestions!

Cheers, Jan

© Stack Overflow or respective owner

Related posts about wince

Related posts about non-blocking