title: Convert character to the corresponding virtual-key code
body: <p>Currently, I'm using the method <code>VkKeyScan</code> in the Win32 API to convert a character to its virtual-key code. But the problem that this seems to have is that, when i pass small alphabets, it works fine whereas when i pass in a capital alphabet, it doesn't return the appropriate key code and similarly with special characters like "(" or "}". </p>
  
  <p>How do i do this? Is there anyway for me to directly convert a string to its virtual equivalent without considering whether it contains capitalized or special characters?</p>
  
  <p>Thanks</p>