How do I detect the mouse event of moving my mouse left or right and wheel up or down?
I have used Get_X_LParam for mouse movement and WParam for wheel movement.
Like DWORD x = HIWORD(wParam) but both of these events return continuous values.
for eg. if(x>0)
{
//do this
}
else
{
//do this
}
the Wparam only returns the same value every time even if I am moving my wheel downwards. Same with Get_X_LParam