How do I capture the Return and Esc keys in an MFC dialog. I set a break point in PreTranslateMessage() and it never gets there. I only want the dialog to close when the close X is clicked on.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.