If you need to let the user to select when close the application window to allow the user to choose whether to close the window, at this point should be how to respond to the news? Through experimental analysis of the following two situations, given the right processing method, (call see if process is closed the task manager) (1) only a response to a WM_DESTROY message, analyzes the results, (2) response WM_CLOSE message first, and then response to a WM_DESTROY message, analyzes the results
How do you write to knead
CodePudding user response:
To experiment, found is different, you will find that to destroy, might have been late