I'm trying to create a virtual keyboard, which simulates keyboard using the SendInput method like this:
public static void SendKeyDown(System.Windows.Forms.Keys key)
{
INPUT k = new INPUT();
k.type = (int)InputType.INPUT_KEYBOARD;
k.ki.wVk = (short)key;
k.ki.dwFlags = (int)KEYEVENTF.KEYDOWN;
k.ki.dwExtraInfo = GetMessageExtraInfo();
SendInput(1, new INPUT[] { k }, Marshal.SizeOf(k));
}
But I cannot find the scandinavian letters Ä,Ö and Å from the Keys -enumeration. How can I send these letters using the SendInput method?