Original Post
I''m having a little problem with my application. This is what I have:
Visual C++ 6.0
MFC Dialog Based Application
My main Dialog calls another dialog:
CMyDialog dlgNewDialog;
dlgNewDialog.DoModal();
My new dialog has an Exit button and a textbox. When I enter some text in the textbox and press ENTER the dialog closes. Almost like it is calling the Exit Button. I have other objects on the dialog and the textbox is the first in the tab order and the exit button is the last in the tab order.
I can''t figure out why it''s doing this.
Brain21