Posts: 3,616
Threads: 287
Joined: Jan 2003
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.
Posts: 1,272
Threads: 36
Joined: Feb 2003
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.
Posts: 3,616
Threads: 287
Joined: Jan 2003
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.
Posts: 2,771
Threads: 96
Joined: Oct 2003
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!
its a great help while programming. Although that is with windows in the backgound. I havent tried just pure DOS.