Information générale
Catégorie:
Fonctions Windows API
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement