Is there an Api that does the same thing as sendkeys?
Printable View
Is there an Api that does the same thing as sendkeys?
Yes; SendMessage is the function, and either WM_CHAR or WM_KEYDOWN is the message.
Code:SendMessage Text1.hWnd, WM_CHAR, vbKeyA, 0