I subclassed a window and displayed a MsgBox to warn the user when the X was used to close it, rather than the provided Close button. The problem is that the MsgBox only displays the first time this happens.
Subsequent times the message seems to be captured and ignored, just no MsgBox. What do I have to set/reset or call to get the MsgBox to display again. I've only been checking for the WM_Close message in the WindowProc routine.
Thanks.
Subsequent times the message seems to be captured and ignored, just no MsgBox. What do I have to set/reset or call to get the MsgBox to display again. I've only been checking for the WM_Close message in the WindowProc routine.
Thanks.