mouse class : RotateWheel(int) method
Description
Simulates a rotation of the mouse wheel.
Syntax
mouseInstance.RotateWheel(int delta)
Arguments
Class | Name | Description |
int | delta | Value that indicates the direction and amount of mouse rotation. |
Return value
None.
Sample code
1: | mouse m = new mouse(); |
2: | m.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.