Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetWindowFocus problem
Message
De
05/03/2004 15:21:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
SetWindowFocus problem
Divers
Thread ID:
00883650
Message ID:
00883650
Vues:
56
Greetings,

I have a fax automation application that uses FoxPro to drive WinFax. Everything was working perfectly fine for well over 2 years. A few days ago it started messing up. I've tracked down the problem to a call to SetWindowFocus in my Sendkeys.dll that I'm using to send keystrokes to the fax software. I've tried calling this method many times and the window never comes up on top like it did before.

I'm now considering using the API directly rather than going through the sendkeys.dll to pop the window to the top. It may result in the same problem but I figured it's worth a shot.

Can anyone give me the VFP code to bring another applications window to the front. Right now I simply say.


oSendKeys.SetWindowFocus("WinFax PRO Send")


Thanks for the help!!!

Greg
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform