MOUSEWHEEL

From QB64 Wiki
Revision as of 20:58, 2 January 2010 by imported>Clippy (Created page with 'The '''_MOUSEWHEEL''' function returns an INTEGER value which can be negative or positive or 0. ''Syntax:'' scroll% = _MOUSEWHEEL * Positive values represent how many "cl…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 up.
  • Negative values represent how many "clicks" the mouse wheel has been moved down.
  • 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.