Home Cooker Classes Others Rice CookerGX
Classes  >  mouse  >  RotateWheel(int)
mouse class : RotateWheel(int) method

Description

Simulates a rotation of the mouse wheel.

Syntax

mouseInstance.RotateWheel(int delta)

Arguments

ClassNameDescription
intdeltaValue that indicates the direction and amount of mouse rotation.

Return value

None

Sample code

//mouseInstance is an any instance of mouse type.

mouseInstance.RotateWheel(100);

Notes

If the argument is positive, the rotation of the mouse wheel will be simulated in the direction to push.

If the argument is negative, the rotation of the mouse wheel will be simulated in the direction to pull.

Links for reference

None

Copyright © Rice All rights reserved.