Anyone have an example of how to send keystrokes such as "Alt-A", etc. to another application using a window handle?
Bob724
May 16th, 2000, 06:06 AM
Find these at vbapi.com:
Check out the FindWindow Function to get a handle to the window, then the BringWindowToTop function to be able to send keystrokes to the window through the API, then keybd_event or SendInput (keybd_event is simpler) to actually send the keystrokes.
________
Bob K
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.