Is there an Api that does the same thing as sendkeys?
Chris [email protected] Windows XP RC2 B2526 Visual Studio.Net Beta 2 C++, VB, VB.Net, ASP, PHP
Yes; SendMessage is the function, and either WM_CHAR or WM_KEYDOWN is the message. Code: SendMessage Text1.hWnd, WM_CHAR, vbKeyA, 0
SendMessage Text1.hWnd, WM_CHAR, vbKeyA, 0
Forum Rules