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?
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?