General information
Category:
Forms & Form designer
You could call in timer event a WINAPI function GetForegroundWindow() and compare a returned value with hWnd of main FoxPro window. Thus you can determine if your application is active or not.
>The Activate() and Deactivate() methods don't (seem to) work when switching between the vfp-application and other applications. I want to do a certain action when the user clicks outside my app, and I want to do another action when the user re-enters my app.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only