ok guys, this might be rather interesting....
Code:
BOOL CALLBACK MenuProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{
char tempx[10];
tempx[0] = '\0';
_itoa( Message , tempx, 10);
strcat(tempx,"\n");
OutputDebugString(tempx);
switch(Message)
{
case WM_INITDIALOG:
{
}
return TRUE;
// break;
case 32:
{
OutputDebugString("mouse really moved");
}
break;
case WM_MOUSEMOVE:
{
OutputDebugString(" WM_MOUSEMOVE message picked up");
}
break;
i changed wm_mousemove to int 32 and it worked!! no more delays. Strange huh?? anybody knows why?