This documentation is archived and is not being maintained.

SystemInformation.MouseWheelPresent Property

Gets a value indicating whether a mouse with a mouse wheel is installed.

[Visual Basic]
Public Shared ReadOnly Property MouseWheelPresent As Boolean
[C#]
public static bool MouseWheelPresent {get;}
[C++]
public: __property static bool get_MouseWheelPresent();
[JScript]
public static function get MouseWheelPresent() : Boolean;

Property Value

true if a mouse with a mouse wheel is installed; otherwise, false.

Remarks

Use this property to determine whether to process code that requires a mouse wheel.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SystemInformation Class | SystemInformation Members | System.Windows.Forms Namespace | SystemInformation | NativeMouseWheelSupport | MouseWheelScrollLines

Show: