Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identifying the active Windows window
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00742546
Message ID:
00742773
Views:
23
Hi Anatoliy

Thanks for your response.

GetActiveWindow() is not appropriate because what should happen in this app is that the active Windows window would be identified in a VFP timer event.

VFP would NOT be the active window at that time, but would then use the active Windows window title for other processing purposes.

If you run the code in the original post, precede it with INKEY(10), click on Windows Explorer or any other instantiated Windows application, that will simulate how VFP would monitor which is the active Windows window.

Somewhere in Windows, the name of the active Windows window has to be known.

Registry maybe, and if so where?

Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform