Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interrupting a VFP.exe
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00573407
Message ID:
00573720
Views:
18
>>Hi George,
>>
>>Thank you for your direction. I will read it closely in a few moments, but scanning through, ...
>>
>>If I only want to message the 2nd exe but have it keep running, can I refuse the close via on shutdown?
>>
>>
>>Thanks,
>>
>Al,
>
>In general, no. What the FAQ shows is how to shutdown another application. Depending, however, on the message sent, some applications present a Save dialog with Yes, No, and Cancel options. Those applications, such as Word, monitor the state of the work in progress internally. In a VFP application, unless you're modifying a program, report, table structure, etc., using the native commands, such a dialog doesn't appear.
>
>What's going on "under the hood" is a message is sent to the window's WndProc method. Since we have no control over how that method processes the message, we're pretty much helpless in that regard. In the cases of both MDI applications using the main VFP window, and SDI applications, the method that handles the message is the main VFP window.


George,

OK, thanks for the explanation. I can't shut down either app, so I will have to do it some other way.

Thanks,

Al
Previous
Reply
Map
View

Click here to load this message in the networking platform