Page 1 of 1

Mousewheel on Windows 7 + MS Mouse + Intellipoint 7.1

Posted: Mon Mar 15, 2010 3:33 pm
by niver
The mousewheel handler code in CompareIt is likely a bit incorrect, because the scrollbars behaves erratically with a Microsoft Laser Mouse 6000 and Intellipoint 7.1 (likely with other MS mouses using Intellipoint too).

MS Mouses are probably the first mouses which produces smaller wheel delta values, values smaller than ±WHEEL_DELTA (120). You likely do integer divides of the delta and compare to -1 and 1 to decide whether the scrollbar should go up or down. Code like
switch ((int)(delta / WHEEL_DELTA))
case -1: .. go up
case 1: go down

This code obviously can't work with smaller deltas, could you please check it out and either process the smaller deltas into smaller scrollbar movements, or at least just compare to 0 with a relative operator instead:
if (delta < 0) .. go up
else (delta > 0) .. go down

Thank you.

Re: Mousewheel on Windows 7 + MS Mouse + Intellipoint 7.1

Posted: Tue Mar 16, 2010 7:28 am
by grigsoft
Thank you for report! Yes, seems like you are right, I will try to support this quickly.

Re: Mousewheel on Windows 7 + MS Mouse + Intellipoint 7.1

Posted: Sat Apr 17, 2010 9:27 pm
by niver
I don't want to push too much, but do you have any ETA about this?

Re: Mousewheel on Windows 7 + MS Mouse + Intellipoint 7.1

Posted: Sun Apr 18, 2010 7:28 am
by grigsoft
In fact it should be supported in fresh beta: http://www.grigsoft.com/wincmp4bu.zip .

Re: Mousewheel on Windows 7 + MS Mouse + Intellipoint 7.1

Posted: Sat May 01, 2010 5:12 pm
by niver
Perfect!