| SoapChicken (13) | |
|
Hello, is there any way to convert a string of a key, such as "A" or "Shift" into a char or VK_Keycode? Thanks. | |
|
Last edited on
|
|
| kbw (5517) | |
|
No. It depends on the keyboard. You can hardcode values of particular keyboard, but I don't know how to do it "properly". | |
|
|
|
| SoapChicken (13) | |
| Oh, ok. | |
|
|
|
| stonedbear (5) | |
|
maybe this is of any help to you? http://msdn.microsoft.com/en-us/library/system.windows.forms.control.keypress.aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-1 | |
|
|
|
| SoapChicken (13) | |
| That's not what I'm looking for. | |
|
|
|