Edit control in dialog picking up keys too fast
I have a dialog window, and inside that an edit control. But when I try to type something in this control it catches like 10 key presses immidiatly. This is my message handler and the window proc for the dialog box:
I don't know if this might be caused by some problems in my code or this just is a common problem.
PeekMessage(&msg, NULL, 0, 0, PM_REMOVE);
BOOL CALLBACK dlgMoveObjProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
int something = 0; //This is just something that fills the function up
Thanks in advance