|
-
Feb 9th, 2000, 02:37 PM
#1
Thread Starter
Addicted Member
I want to make it where I can define the number of "TABS" to send to a 3rd party program. This way the correct text box on the 3rd party program will have the focus and then I should be able to send text to the target textbox of the 3rd party program without ever having to know the specific textbox's hWnd. (Since I can not seem to get the hWnd for it.)
Thank you very much in advance for your help,
Daniel_Christie
-
Feb 9th, 2000, 03:31 PM
#2
Try using the SendKeys statement.
SendKeys "{TAB}", True
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
-
Feb 9th, 2000, 05:15 PM
#3
Thread Starter
Addicted Member
I will do that, thank you.
But I would like to fully understand what the ",True" stands for?
-
Feb 9th, 2000, 07:22 PM
#4
Frenzied Member
The True means that you program will wait for the keypresses to be processed by the other program - if you leave it False and then immediately sent another keypress to the program there's no guarantee that the program would behave how you expected. Best to leave it at True.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
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
|