Thanks for the reply, I read it thouroughly and to no avail. It states that the WM_KEYDOWN, WM_CHAR and other like messages should be sent to the parent windows procedure function when a user has added input into an editbox. Yet I receive no such messages.
I can't explain it. When a WM_KEYDOWN message is received I should be able to check wParam for the VK_RETURN value to see if it was the enter key that has been pressed. But I've even tried:
and yet I never receive that message, no matter what. Nor has the Message Box ever displayed. And this is an MDI interface so I've tried placing it into the windows procedure for both the frame window and the child window that is being used at the time and still nothing. I've done similar tests with testing the WM_COMMAND for a EN_UPDATE and EN_MODIFY messages as well as just checking for a WM_CHAR message.
MessageBox(NULL, TEXT("somethings being pressed"), TEXT("Key Press Detected"), MB_OK);
It's really weird that I never recieve any messages whatsoever. Perhaps I'm doing something wrong?
Any ideas would be great,