Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WM_QUIT Message 1

Status
Not open for further replies.

jmcswain

Programmer
May 30, 2001
16
0
0
US
I want my foxpro app to automatically close when you go to the Start Menu and click ShutDown. I believe ShutDown sends a WM_QUIT message to all applications.

What event, if any, in my app will fire off when the app receives a WM_QUIT? Or, if the answer is none, how can I trap it using a hook?
 
look at 'on shutdown', it is not exactly and event it triggers like on error, but in this case when the user closes the app, or it received the wm_quit message from windows.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top