Is there a function that I can use to sense if the mouse has been moved up or down or right or left?
Thanks, August.
This is a discussion on Mouse move direction within the Windows Programming forums, part of the Platform Specific Boards category; Is there a function that I can use to sense if the mouse has been moved up or down or ...
Is there a function that I can use to sense if the mouse has been moved up or down or right or left?
Thanks, August.
In a window, you'd just shove some code into the WM_MOUSEMOVE message to compare the current coordinates against previous ones stored in a global. Do some subtraction, get your result. Rinse and repeat.![]()