Compartilhar via


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

Reference

Mouse