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