I’ve been searching, and so far I’ve only found SendKeys, which works only for the active window. However, I don’t want to force the window to become active. Does anyone know how I can send keystrokes to a specific window handle? I’m aiming, actually, at a child window and SendKeys just does the parent window, which is why I need this specific functionality.
Thanks in advance!
Have you tried SendMessage with WM_CHAR or WM_KEYDOWN/WM_KEYUP?