How do I capture the Enter Key event in an edit control?
I have so far inherited my own class from CEdit and I am capturing the input keys but it the method used to do this does not receive the event when the enter or return key is hit.
The first step in solving this is to configure the dialog box so that when the user hits the enter key, the dialog box does not close. I have done this already: http://msdn.microsoft.com/msdnmag/issues/0700/c/default.aspx
But how do I do the next step and capture that enter key when the user is done entering data in an edit control.