Author |
Topic |
|
wabtec4
59 Posts |
Posted - 01 Feb 2005 : 20:32:05
|
Hello, masters, I am simulating to send key inputs to a window via my program since our CE 4.1 has no keyboard, I can find the virtual key values, for example: VK_A ~ VK_Z for A through Z, VK_SPACE for space bar ect, but I have failed to find the virtual key values for lower case a through z, where & what are they? Thanks, urgent help required, thanks. charlie
|
|
wabtec4
59 Posts |
Posted - 01 Feb 2005 : 20:37:42
|
I am using ce 4.1 on bitsy board. ->charlie |
|
|
wabtec4
59 Posts |
Posted - 01 Feb 2005 : 20:48:12
|
Hi, the above virtual key values were taken from my text book, but I couldn't compile for most of the defined constants for example: VK_Y' : undeclared identifier
Only a few were accepted, for VK_RETURN, VK_TAB etc.
What are those legal virtual key values for CE 4.1 on Bitsy board?
|
|
|
akidder
1519 Posts |
Posted - 02 Feb 2005 : 09:22:57
|
I believe that you will need to simulate use of the shift key if you want to perform upper and lower-case key conversions.
Take a look at some of the MSDN topics below, which will give you an idea of how the keyboard driver works. In particular, I suspect that the KeybdDriverVKeyToUnicode() function will be helpful in your application. Browse around in the related MSDN topics for additional information about simulating the keyboard driver.
MSDN, CE 4.2, Receiving Keyboard Input MSDN, CE 4.2, Converting Key Codes to Unicode MDSN, CE 3.0, Virtual Key Codes
|
|
|
|
Topic |
|
|
|