Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application GotFocus?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00852470
Message ID:
00852644
Views:
11
Hi John,

There's no such built-in event in VFP. You can consider two workarounds:
1. Set timer to check periodicaly if your application is the top foremost one using Windows API.
2. Hook into Windows messaging loop of VFP application using COM helper object File #18695.

>Is there an event that fires when my entire program gets focus? Like for instance, the user is working with the app, then they open Outlook or some other program, then they come back to my app. Is there a global gotfocus somewhere that I'm missing, or something I can hook into? Thanks,
>
>jfh
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform