i currently have a small application that performs background tasks every time the user moves the mouse N pixels. i am using SetWindowsHookEx together with CallNextHookEx to create the system wide mouse hook. it works just fine.
the thing is that the message returns these values:
but not "mouse moving"
the problem i have at the moment is that i shouldn't perform those tasks while the mouse is moving, i should wait until the mouse stoped and then perform the task.
i tried using the system idle time but that also applies to the keyboard which is no good.
is there a way to detect (system wide) when the mouse is moving and when it's not?
sort of like:
if IsMouseMoving then
IsMouseMoving should return 0 for no and 1 for yes or whatever.
thanks in advance