Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close Other Application!
Message
From
21/11/2000 09:02:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Close Other Application!
Miscellaneous
Thread ID:
00444040
Message ID:
00444040
Views:
47
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...
Reply
Map
View

Click here to load this message in the networking platform