LocationMy.Computer.Mouse.WheelScrollLines SyntaxDim result As Integer = My.Computer.Mouse.WheelScrollLines DescriptionOn systems that have a "mouse wheel" included on the installed mouse, the WheelScrollLines indicates how far the context should be scrolled when the wheel is rotated one position. Usage at a Glance
ExampleThe following example displays the scroll amount for each mouse wheel rotation position. If My.Computer.Mouse.WheelExists Then MsgBox("Mouse wheel scroll amount is " & _ Abs(My.Computer.Mouse.WheelScrollLines) & ".") Else MsgBox("No mouse scroll wheel present.") End If Related Framework Entries
See AlsoButtonsSwapped Property, Mouse Object, WheelExists Property |