Home Notices Documents Classes Download Others Rice
Classes  >  mouse  >  WheelExist
mouse class : WheelExist getter

Description

Gets a value that indicates whether the mouse has a scroll wheel.

Syntax

mouseInstance.WheelExist

Arguments

None.

Return value

ClassDescription
boolValue that indicates whether the mouse has a scroll wheel.

Sample code

1:

mouse m = new mouse();

2:

bool hasWheel = m.WheelExist;

Notes

If the mouse has the scroll wheel, return value is true. Otherwise, return value is false.

Links for reference

Copyright © Rice All rights reserved.