Mouse Wheel scrolling leads to overflow

Jul 10, 2009 at 3:54 PM


I have implemented a datagrid within my program and everything is working fine except when using the mouse wheel to scroll down.

This leads to an OverflowException ("Arithmetic operation resulted in an overflow") in System.Windows.Interop.HwndMouseInputProvider.FilterMessage

I have got virtualisation switched on (it is a large data set) but there is nothing else I can see that relates to scrolling that I have changed.

I can put the code up if required but I thought I would ask if anyone else has come across a similar problem.

Thanks in advance


Aug 25, 2009 at 4:49 PM

I'm getting this issue too!

Did you find a resolution Stu?

Aug 25, 2009 at 9:26 PM

If you could file an Issue under the Issue Tracker and attach a repro project, that would be really helpful.  The exception doesn't look like it's coming from something DataGrid-specific, so we'll need to debug this further.  Thanks!

Aug 26, 2009 at 9:43 AM

Done :)

Aug 26, 2009 at 10:08 AM

Thanks for posting a project bannistj as I have not had time to do it.  I have not found a solution yet and have temporarily switched off the mouse wheel scrolling

Cheers Stu