Capturing the return key?

Aug 22, 2010 at 5:17am
How would you be able to tell if the user has pressed the ENTER key in an edit control? I made the control with CreateWindow, and I think I need to use WM_COMMAND, but I'm not sure how to use it...
Aug 23, 2010 at 9:14am
Subclass it and handle WM_KEYDOWN.
Topic archived. No new replies allowed.