Returns the suggested number of milliseconds for a drag scroll timer based on the specified delta and linear screen size.
Parameters
- delta
- The number of pixels between the current cursor position and the drag scroll origin point. The sign of this number is ignored.
- screenSize
- The number of pixels in the width or height of the area which represents the screen.
- min
- The minimum allowable value to be returned, expressed in milliseconds.
- max
- The maximum allowable value to be returned, expressed in milliseconds.
Return Value
An integer value representing the number of milliseconds to which a drag scroll timer's interval should be set based on the specified parameters.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2