Difference between revisions of "MOUSEWHEEL"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Clippy
m
Line 5: Line 5:
  
  
* Positive values represent how many "clicks" the mouse wheel has been moved up.
+
* 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 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 time, _MOUSEWHEEL returns 0.
 
* Return values are relative to the last time [[_MOUSEINPUT]] was used, so if no movement on the wheel has occurred since the last time, _MOUSEWHEEL returns 0.
  

Revision as of 07:16, 3 January 2010

The _MOUSEWHEEL function returns an INTEGER value which can be negative or positive or 0.


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 time, _MOUSEWHEEL returns 0.


See also: _MOUSEINPUT, _MOUSEX, _MOUSEY, _MOUSEBUTTON, _MOUSESHOW, _MOUSEHIDE


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage