Hello,

I have got a problem with WM_KEYDOWN and SendMessage(). I'm trying to send an upper case 't' ('T') to an edit field using the following function call:
SendMessage(hwnd, WM_KEYDOWN, VkKeyScan('T'), NULL)

The problem now is, that the target input field only prints a lower case 't'.
Question: How can I get the input field to print an upper case 't' ('T') using SendMessage() and WM_KEYDOWN? I thought of sending a WM_KEYDOWN message equal to a SHIFT-T keystroke, but I don't know how to do that. Got any ideas?

Thanks in advance for your answers