>Another problem with FindWindow is that you have to supply the complete text of the title bar. You might want to look at might Is_Run32 function (available from the download section under Win32 & other APIs). It'll return the window handle based on the known portion of the title bar (and isn't case sensitive).
>
>hth,
Hi George,
Is there a win32api that I can use to change the active window? This is a followup to the problem I was having about requiring a fax monitor running as part of my VFP app. I can now find out if the fax monitor is running. If it isn't running, I can start it using 'run /n7 faxmon32.exe'. However the focus remains on the fax monitor. I would like the focus to return to my VFP APP. Any ideas?
Thanks for your note on Is_run/Is_Run32. I read the readme.txt. It looks more useful than FindWindow.
Paul
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