Re: Control another program

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Yeah, SendInput is a better way to do it these days. I got fooled by the title of the article. The old method still works for now, but you never know about the future.

Tom

"AliR (VC++ MVP)" <AliR@xxxxxxxxxxxxx> wrote in message news:8EVJh.12771$uo3.4725@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Actually I just read through the article that Tom pointed you to. It is using keybd_event which is deprecated.
Take a look at SendInput instead.

AliR.

.