Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending a key press to another window/application

Status
Not open for further replies.

stefanus

Programmer
Jun 30, 2002
7
0
0
NZ
I am trying to send key strokes to another application, I have my application which runs an update file, the problem is to install the update the user needs to click on a button, can anyone tell me how I can send a key stroke to the other application so there is no interaction from the user
 
That works great for keystrokes within the same application, how would I set the focus to another application window, I am trying to use SendMessage() but cannot get it to work.
 
may not be entirely appropriate.
send keystrokes to a file and continuously wait for update
also good with a protected memory address, protected so no programms decide to use it, confusing the reading program.
 
Bingo,

Thats is exactly what I am trying to do, thank you this works like a charm.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top