Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regaining Focus from ShellExecute
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01324662
Message ID:
01324664
Views:
13
Check Re: How to get focus to my VFP app from a VFP utility once c Message #1220782

>
>I have a problem here.....
>
>I have a method in a form that runs the ShellExecute API to run an external webservice program.....
>
>As soon as it executes this API, the method continues and runs a loop to look for a textfile returned from the webservice....
>
>But the focus stays on the the webservice and I would like to have the focus back on the object running the method (this is because in the timing loop there is an INKEY looking for the ESC key to exit the timing loop and return control back to the user (to bail out if the webservice is taking too long)).
>
>Here is some of the code....
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform