This is driving ME NUTZ.
I have subclassed the control so I can press the enter key and send a message to the main window to process the text in the window. But, every time I press Enter it dings at me (like an error beep). I have stepped thru it all, and when I press enter, the message is being sent, the text is retrieved, and the edit box is cleared. But I have NO CLUE as to why this beeping is going on.
Here is my subclass function:
LRESULT CALLBACK EditProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
if (wParam == VK_RETURN)
Here is my case statement for SENDDATA:
// process and send the data to the server.
// SendMessage(hEditBox,WM_GETTEXT,(WPARAM)200, (LPARAM)CommandBuffer);