WM_MOUSEMOVE; mouse moves one axis at a time?

Hey there,
I was making a simple click+hold and drag navigation system for my app and I noticed something while debugging.

It appears to me that when the message WM_MOUSEMOVE is sent, the mouse can only be registered moving in the x-axis or the y-axis but, never both.
Which is to say, it can't move diagonally in one step; it must first move either horizontal (by one pixel) then vertically (by one pixel) or vice-versa.

Is this true?

I ask this because, I could make my code more efficient; knowing it could only ever be moving one direction at a time.
Last edited on
Is this true?


No.
Registered users can post here. Sign in or register to post.