More than one DEFPUSHBUTTON
I was wondering wether it's possible to have more than one DEFPUSHBUTTON on a dialog.
I currently have a dialog with two sections. Each section has a edit control and a defpushbutton. But when an edit control has the focus and the user presses enter, it's always the same button that gets "clicked". I want to know if it's possible for "Button1" to get clicked when "Edit1" has the focus (and enter has been pressed) and "Button2" to get clicked when "Edit2" has the focus.