I have a char, for example 'A'. How I can get KeyValue after which will write this character ('A')?
Thanks for reading, Greetings.
PS: How to obtain the function SendInput large / small letters?
I have a char, for example 'A'. How I can get KeyValue after which will write this character ('A')?
Thanks for reading, Greetings.
PS: How to obtain the function SendInput large / small letters?
[DllImport("user32.dll")]
static extern short VkKeyScan(char ch);
static public Key ResolveKey(char charToResolve)
{
return KeyInterop.KeyFromVirtualKey(VkKeyScan(charToResolve));
}