Qbasicnews.com

Full Version: Retrieving mouse status: the scrollwheel. How?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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.
Hmm, something that was introduced with USB ports?
I'll have to tinker, and look at some detailed lowdowns on int 33h.
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.