Jump to navigation Jump to search
Revision as of 07:23, 3 January 2010 by
The _MOUSEWHEEL function returns a positive or negative INTEGER value indicating the mouse scroll wheel clicks since the last mouse read.
Syntax: scroll% = _MOUSEWHEEL
- Positive values represent how many "clicks" the mouse wheel has been moved down.
- Negative values represent how many "clicks" the mouse wheel has been moved up.
- Return values are relative to the last time _MOUSEINPUT was used, so if no movement on the wheel has occurred since the last read, _MOUSEWHEEL returns 0.