Get Notified of ENTER in single line EDIT control
How do you find out when in a standard windows single line EDIT control Enter has been pressed.
I am writing a little terminal program that uses an edit control for the user to enter commands and then when he presses enter I want to use WM_GETTEXT in the parent's window PROC. I know this would be much simpler in a dialog box because the edit control can press the dialogs default button when it receives the enter key but my app uses a window I have created and not a dialog.
thanx in advance