Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to shutdown window
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00517011
Message ID:
00517201
Views:
13
>>how to shut down window in the program ?
>>can I make a batch file to close the window ?
>
>As Nick points out, your question is not clear. If you mean to close the windows of another application, you can use send a WM_CLOSE (or WM_QUIT, depending on whether you believe me or Rauh. :-) Both work.) message to the window using PostMessage(). There are probably samples in the downloads section.

Don't you need the exit code with WM_QUIT (and WM_QUERYENDSESSION)? AFAIK, WM_CLOSE (and WM_DESTROY) don't require it.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform