Link to home
Start Free TrialLog in
Avatar of letitbeirie
letitbeirie

asked on

SendMessage instead of SendKeys

Hi, I am coding a project in VB6 to control an external application using SendKeys (sometimes tab characters) and Wait statements.  I am looking for a way to upgrade the program to use the Windows API SendMessage command?  The primary goal of this upgrade is to allow other use of the computer while the project is executing; during the execution of the current project, the external application must be active with focus.
Avatar of OnegaZhang
OnegaZhang

look up WM_CHAR WM_KEYUP, WM_KEYDOWN messages.
ASKER CERTIFIED SOLUTION
Avatar of Frosty555
Frosty555
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial