I created a dialog-based app using the app wizard. I removed the OK and Cancel buttons and added my own CBitmapButton buttons, one of which acts as the Exit button.
If I mouse click on each button, they do as they should - call their associated OnX... routine. The Tab key lets me change focus to each button. However, when focus is on a button and the Enter key is pressed, the dialog quits instead of calling the "OnX..." routine for the button with focus. Can someone explain this?