Does Anyone Know how to capture the "ENTER" key-press, so that you can process text entered into an edit control?
Like a search engine. Type the search word. Press "ENTER". The program figures out the rest.
My initial guess is something like this:
In "case WM_COMMAND:" I somehow specify the control code for the "enter" key. If it was pressed, I check that there is a string to be processed in the previously empty edit control. If so, process the string, and reset the edit control to it's empty state.
Am I close?
And does anyone know this key-code( and hopefully others )?!
Thanks in advance!