Do I need to subclass an edit control to trap the the VK_RETURN or VK_ESCAPE key down events?
Any suggestion? :mellow:
Yes you do... if you need more info just ask. :lol:
You could either do subclassing, which is easy,
or a keyboard hook and use GetFocus as each key is pressed to check if the window in focus is the edit control of your program.
Subclassing the edit control is obviously a much better routine, and is easier as well. Subclassing isn't very hard at all once you get used to doing it