I have a button in my dialog box that when you click it the dialog box quits. However, it would be really nice if when I hit the enter/return key it would also quit the program. Can someone help me out? I'm using MSVC++ and the dialog box is in a resource file.