General information
Category:
Windows API functions
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only