Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close Other Application!
Message
De
21/11/2000 09:02:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Close Other Application!
Divers
Thread ID:
00444040
Message ID:
00444040
Vues:
53
Hi,
I got to know that, I can use SendMessage() or PostMessage() WINAPI to close other application. However, I got a question here:

If there is Modal form shown, or report preview, or I placed NODEFAULT in mainform.queryunload, the SENDMESSAGE OR POSTMESSAGE WINAPI will not able to terminate the target application.

Any ways to solve it?
Any ways to send a "message" to the target application in order the target application can check the "message" to decide unload or not?
If using POSTMESSAGE or SENDMESSAGE WINAPI, what event will be activated in order the target application "know" it should unload now?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Répondre
Fil
Voir

Click here to load this message in the networking platform