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.
Remarks
This table lists tasks associated with the My.Computer.Mouse
object and points to topics demonstrating how to accomplish each.
To | See |
---|---|
Determine whether the mouse has a scroll wheel. | WheelExists |
Determine whether the left and right mouse buttons have been swapped | ButtonsSwapped |
Set how much to scroll when the mouse wheel is rotated one notch. | WheelScrollLines |
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.