Home Cooker Classes Others Rice CookerGX
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

//mouseInstance is an any instance of mouse type.

bool hasWheel = mouseInstance.WheelExist;

Notes

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

Links for reference

Copyright © Rice All rights reserved.