Qbasicnews.com
Retrieving mouse status: the scrollwheel. How? - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html)
+--- Forum: QB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-11.html)
+--- Thread: Retrieving mouse status: the scrollwheel. How? (/thread-3383.html)



Retrieving mouse status: the scrollwheel. How? - Zack - 03-04-2004

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?


Retrieving mouse status: the scrollwheel. How? - Sterling Christensen - 03-05-2004

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.


Retrieving mouse status: the scrollwheel. How? - Zack - 03-05-2004

Hmm, something that was introduced with USB ports?
I'll have to tinker, and look at some detailed lowdowns on int 33h.


Retrieving mouse status: the scrollwheel. How? - KiZ - 03-05-2004

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.