1

We have a C#/DirectX application that is using a winform control events (mouseup,mousemove,paint,etc.)

When executed on a Windows 7 machine, whenever these events are triggered they are with the most recent values available (last mouse position). Therefore as soon as the mouse stop moving I get the final frame rendered on screen.

On a windows 8 machine it is as if these events are buffered, so if the UI thread is somewhat busy and I move the mouse frantically these events keeps on coming long after I stop moving the mouse.

Why is the behavior different on both system? And how can I make it identical? (it's also possible that its not related to the version of Windows but thats the only notable difference that come to mind thus far).

I know I can probably handle the "buffering"/"discarding" of events on my side but if it is related to the OS maybe there's a more elegant solution.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.