I'm creating a dialog app in MFC, and I've got 1 multi-line edit control on the dialog, and a couple of buttons, and a couple of single-line edit controls. My problem comes from the multi-line edit control. Whenever I hit the enter key, the application closes.
The properties of the multi-line control are:
- Auto VScroll
- Auto HScroll
- Static border
- Tab stop
I've searched MSDN for some info on this, but I couldn't find anything to actually help me. Does anyone have any idea on what's going on here?
BTW: It's all default. I haven't added any code of my own, I just added the edit controls, labels, frames, and buttons.
*EDIT:* I also tried initializing the CommonControlsEx, but MSVC++ kept spitting out a "ICC_STANDARD_CLASSES cannot be found" error.