Accessing the Mouse (Visual Basic)
The My.Computer.Mouse object provides a way to find information about the computer's mouse, such as if a mouse exists, the number of mouse buttons, and details about the mouse wheel.
This table lists tasks associated with the My.Computer.Mouse object and points to topics demonstrating how to accomplish each.
Determine whether the mouse has a scroll wheel.
Determine whether the left and right mouse buttons have been swapped
Set how much to scroll when the mouse wheel is rotated one notch.