This code should probably be tested more to make sure no bad things can happen, I don't believe returning true in WM_CLOSE to prevent WM_COMMAND:IDCANCEL generation is documented anywhere...
Log in to post a comment.