>>>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