I have an app that I want to use an API call to close. I am looking for an example of the API call SENDMESSAGE using WM_DESTROY to close the app. I do not wish to use WM_CLOSE. I want the app to terminate upon initiation of this command. Any examples would be greatly appreciated. Thanks in advance..