Hey, i have an edit control, and i want to call a certain function when enter is pressed. How can i tell when enter is pressed and the edit control has focus?
Why doesn't anything happen with the code below:
case WM_KEYDOWN:
MessageBox(hwnd, "key pressed", "", MB_OK);
break;