Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API function for closing other applications
Message
De
04/05/2000 05:19:43
Walter Meester
HoogkarspelPays-Bas
 
 
À
04/05/2000 04:52:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00365986
Message ID:
00365991
Vues:
21
Clarissa,

I'm not sure this will help in your case, but you might try the following:

SET LIBRARY TO FOXTOOLS

x=regfn("FindWindow","CC","I")
z=callfn(x,0, cWindowTitle)
y=regfn("PostMessage","IIIL","I")
=callfn(Y,z,274,61536,0)

If the application has a window with a unique caption, you can find that window by its caption (cWindowsTitle variable) and send a message to that window that it has to close.

HTH

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform