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