WheelExists Property


WheelExists Property

Location

My.Computer.Mouse.WheelExists

Syntax

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

Description

The WheelExists property indicates whether the mouse installed on the local computer includes a "mouse wheel" (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.

  • Always use this property to detect the presence of a mouse wheel before using the My.Computer.Mouse.WheelScrollLines property.

Related Framework Entries

  • Microsoft.VisualBasic.Devices.Mouse.WheelExists Property

  • System.Windows.Forms.SystemInformation.MouseWheelPresent Property

See Also

ButtonsSwapped Property, Mouse Object, WheelScrollLines Property




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net