Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

ButtonsSwapped Property

Location

My.Computer.Mouse.ButtonsSwapped

Syntax

Dim result As Boolean = My.Computer.Mouse.ButtonsSwapped

Description

On most systems, the left mouse button performs selection, while the right mouse button performs context-specific actions. The ButtonsSwapped property indicates whether the functionality normally assigned to each button has been reversed (TRue) or not (False).

Usage at a Glance

  • This property is read-only.

  • This property is only valid in non-server applications.

  • An exception is thrown if the computer does not have an installed mouse.

Related Framework Entries

  • Microsoft.VisualBasic.Devices.Mouse.ButtonsSwapped Property

  • System.Windows.Forms.SystemInformation.MouseButtonsSwapped Property

See Also

Mouse Object, WheelExists Property, WheelScrollLines Property

Категории