Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation of button press on message boxes.
Message
From
18/11/1998 15:41:25
Donny Sims
Independent Computer Consultants Inc
Scottsboro, Alabama, United States
 
 
To
18/11/1998 14:51:21
Donny Sims
Independent Computer Consultants Inc
Scottsboro, Alabama, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00158837
Message ID:
00158982
Views:
17
>>>We are working on a application tester and we have run into a couple of problems. Is there some kind of API call or a number of API calls that can automate the pressing of a button from a message box?
>>>
>>>TIA
>>>
>>>Dan
>>
>>You can fire KEYBOARD (messagebox's hot key) from Timer.Timer event

Sorry for the previous message, I clicked the Preview button out of curosity and then clicked the browser Back button but did'nt notice that it deleted my input. Anyway, here is my original post:


The method you suggest works great as long as the VFP app has the focus. However, if a system event (such as a broken phone connection) causes a system messagebox to fire before the timer expires then the KEYBOARD will be directed to the wrong place. Do you know of any way to make sure the focus in on the correct messagebox before firing the keyboard?
Donny Sims

Life is what happens to us while were busy making other plans.
- John Lennon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform