|
-
Feb 21st, 2000, 07:07 AM
#1
Thread Starter
Junior Member
I have code like so:
Dim hWnd As Long
hWnd = FindWindow("A Program", CLng(0))
BringWindowToTop hWnd
SendKeys ("c")
And I thought that it should set "A Program" as the highlighted or active window and sendkeys would send the keys "to" the program but instead it still sends them to the previously selected program, Any help to get it to send it to "A Program"
Andy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|