Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieving mouse status: the scrollwheel. How?
#1
How do you get the status of the scrollwheel on a mouse from QB? I know how to get the regular button and coord status, but the scrollwheel? Is it even possible? What function is it for int 33h?
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#2
Each time you click the scroll wheel up it's counted as a mouse click on button number 4, and down would be #5. Actually pressing on the scroll wheel is button #3. But all of that may vary depending on the model (logitech, intellimouse, etc).

Msdos mouse drivers probably don't support it, but it might in a command prompt with Windows running.
Reply
#3
Hmm, something that was introduced with USB ports?
I'll have to tinker, and look at some detailed lowdowns on int 33h.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#4
Quote:Each time you click the scroll wheel up it's counted as a mouse click on button number 4, and down would be #5. Actually pressing on the scroll wheel is button #3. But all of that may vary depending on the model (logitech, intellimouse, etc).

Msdos mouse drivers probably don't support it, but it might in a command prompt with Windows running.

I can use my scroll wheel in Qb! Wink

its a great help while programming. Although that is with windows in the backgound. I havent tried just pure DOS.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)