Original Post
Is there any easy way to convert a string to a virtual key code? So that a string containing "VK_ESCAPE" is translated to the value of VK_ESCAPE. The reason I want to do this is because I am working on a program where I want the user to be able to set up all controls in an ini-file, which is loaded automaticly when the program is started.