All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 virtual keys
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

wabtec4

59 Posts

Posted - 01 Feb 2005 :  20:32:05  Show Profile  Email Poster
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  Show Profile  Email Poster
I am using ce 4.1 on bitsy board. ->charlie
Go to Top of Page

wabtec4

59 Posts

Posted - 01 Feb 2005 :  20:48:12  Show Profile  Email Poster
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?
Go to Top of Page

akidder

1519 Posts

Posted - 02 Feb 2005 :  09:22:57  Show Profile  Email Poster
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
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000