Hi
I’m tryng to catch the windows messages, to make a user interface mouse in opengl, but i keep having this error message in the debugger… Anyone knows what this is?
Thanks
Bruno
what error?
i capture windows mouse data by catching these messages into the window procedure:
WM_MOUSEMOVE
WM_LBUTTONDOWN
WM_RBUTTONDOWN
WM_MBUTTONDOWN
WM_LBUTTONUP
WM_RBUTTONUP
WM_MBUTTONUP
mouse position and buttons are returned into:
x==LOWORD(lParam)
y==HIWORD(lParam)
buttons/modifiers==wParam
Dolo//\ightY
I know those messages, and that is exactly the ones that i’m tryng to use, but the windows just ignore them, and when i debug, i also have that error, when i reach this piece of code:
return DefWindowProc(hWnd, uMsg, wParam, lParam);
Do i have to initialize the mouse or something?
thanks
Bruno
What compiler you are using ?
I’m using VC 6++…
I have fixed the problem…, i really don’t know whats wrong, i just started everything from the beginng…
thanks anwyay
Bruno