Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After splash screen the app typically gets focus in Wind
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01075194
Message ID:
01075238
Views:
30
Check Re: I want to close a VFP app when it loses focus, but...

>
>In my app I have a splash screen, top form etc. etc. so there is no task bar icon. Then the VFP desktop is displayed. I have put in a KEYBOARD to open the data-entry menu when the app is in usable condition.
>
>Now supposing I start the app from it's shortcut and switch to another already running application. My app and it's splash screen and all are loading in the background. Once loaded the popup menu which I open with a KEYBOARD is displayed onto the current win app. To get out of this deadlock kind of situation I have to alt+tab to my app and then alt+tab back to the current app. I can't click on task bar icons and switch between apps, it has to be alt+tab.
>
>How can I find out if my app is currently not the one with focus and send it back behind or if this is not possible get it in the front by force.
>
>Please advise.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform