32 references to WHEEL_DELTA
System.Windows.Forms (32)
winforms\Managed\System\WinForms\DataGrid.cs (1)
4379
float movePerc = (float)wheelDelta / (float)NativeMethods.
WHEEL_DELTA
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (11)
16924
Debug.Assert(this.cumulativeVerticalWheelDelta > -NativeMethods.
WHEEL_DELTA
);
16925
Debug.Assert(this.cumulativeVerticalWheelDelta < NativeMethods.
WHEEL_DELTA
);
16926
Debug.Assert(this.cumulativeHorizontalWheelDelta > -NativeMethods.
WHEEL_DELTA
);
16927
Debug.Assert(this.cumulativeHorizontalWheelDelta < NativeMethods.
WHEEL_DELTA
);
16934
partialNotches = (float) this.cumulativeVerticalWheelDelta / (float) NativeMethods.
WHEEL_DELTA
;
16939
partialNotches = (float) this.cumulativeHorizontalWheelDelta / (float) NativeMethods.
WHEEL_DELTA
;
16962
this.cumulativeVerticalWheelDelta -= fullNotches * NativeMethods.
WHEEL_DELTA
;
16975
this.cumulativeHorizontalWheelDelta -= fullNotches * NativeMethods.
WHEEL_DELTA
;
17014
this.cumulativeVerticalWheelDelta -= (int) ((float) scrollBands * ((float) NativeMethods.
WHEEL_DELTA
/ (float) wheelScrollLines));
17039
this.cumulativeVerticalWheelDelta -= (int) ((float) scrollBands * ((float) NativeMethods.
WHEEL_DELTA
/ (float) wheelScrollLines));
17068
this.cumulativeHorizontalWheelDelta -= (int) ((float) scrollBands * ((float) NativeMethods.
WHEEL_DELTA
/ (float) wheelScrollLines));
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (6)
3326
Debug.Assert(this.cumulativeVerticalWheelDelta > -NativeMethods.
WHEEL_DELTA
, "cumulativeVerticalWheelDelta is too small");
3327
Debug.Assert(this.cumulativeVerticalWheelDelta < NativeMethods.
WHEEL_DELTA
, "cumulativeVerticalWheelDelta is too big");
3359
float partialNotches = (float)cumulativeVerticalWheelDelta / (float)NativeMethods.
WHEEL_DELTA
;
3375
this.cumulativeVerticalWheelDelta -= fullNotches * NativeMethods.
WHEEL_DELTA
;
3409
this.cumulativeVerticalWheelDelta -= (int)((float)scrollBands * ((float)NativeMethods.
WHEEL_DELTA
/ (float)wheelScrollLines));
3418
this.cumulativeVerticalWheelDelta -= (int)((float)scrollBands * ((float)NativeMethods.
WHEEL_DELTA
/ (float)wheelScrollLines));
winforms\Managed\System\WinForms\ScrollBar.cs (3)
730
while (Math.Abs(wheelDelta) >= NativeMethods.
WHEEL_DELTA
) {
732
wheelDelta -= NativeMethods.
WHEEL_DELTA
;
737
wheelDelta += NativeMethods.
WHEEL_DELTA
;
winforms\Managed\System\WinForms\SystemInformation.cs (1)
1716
return NativeMethods.
WHEEL_DELTA
;
winforms\Managed\System\WinForms\TrackBar.cs (5)
989
Debug.Assert(this.cumulativeWheelData > -NativeMethods.
WHEEL_DELTA
, "cumulativeWheelData is too small");
990
Debug.Assert(this.cumulativeWheelData < NativeMethods.
WHEEL_DELTA
, "cumulativeWheelData is too big");
994
partialNotches = (float)this.cumulativeWheelData / (float)NativeMethods.
WHEEL_DELTA
;
1008
this.cumulativeWheelData -= (int)((float)scrollBands * ((float)NativeMethods.
WHEEL_DELTA
/ (float)wheelScrollLines));
1013
this.cumulativeWheelData -= (int)((float)scrollBands * ((float)NativeMethods.
WHEEL_DELTA
/ (float)wheelScrollLines));
winforms\Managed\System\WinForms\UpDownBase.cs (5)
1005
Debug.Assert(this.wheelDelta > -NativeMethods.
WHEEL_DELTA
, "wheelDelta is too smal");
1006
Debug.Assert(this.wheelDelta < NativeMethods.
WHEEL_DELTA
, "wheelDelta is too big");
1010
partialNotches = (float)this.wheelDelta / (float)NativeMethods.
WHEEL_DELTA
;
1026
this.wheelDelta -= (int)((float)scrollBands * ((float)NativeMethods.
WHEEL_DELTA
/ (float)wheelScrollLines));
1034
this.wheelDelta -= (int)((float)scrollBands * ((float)NativeMethods.
WHEEL_DELTA
/ (float)wheelScrollLines));