Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing Focus in Top Level Forms
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00698359
Message ID:
00698379
Views:
22
>In a top level form running on the desktop with SCREEN=OFF, is there a way to programmatically determine that the top level form has lost focus? I.e. since when the user clicks on some other Win application, the Win desktop, etc. thus removing focus from the top level form application and the top level form Deactivate and Lost Focus events do not fire, is there a way to detect this?
>
>Thanks,
>Bill

How about a timer which compares the hWnd property of the form against the value returned by the GetActiveWindow() API call?
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform