Page 1 of 1

Mouse scrolling in QB

Posted: Mon Aug 13, 2007 11:36 pm
by Master-of-Mischief
Is there a way to use that nifty scroll thing on mice in QB? An interrupt or inp or something?

Posted: Tue Aug 14, 2007 9:38 am
by OPRESION
Do you mean the mouse wheel?

Posted: Tue Aug 14, 2007 12:36 pm
by Master-of-Mischief
Yeah, the mouse wheel.

Posted: Tue Aug 14, 2007 4:20 pm
by Mentat
You fire the same interupt, but ax has to equal some value (I think. I'm prestty sure about the same interupt though.)

Don't think so

Posted: Wed Aug 15, 2007 3:19 am
by Mac
I note that in Windows that contain NOTEPAD, Word, IE, etc., the mouse wheel button works to do automatic scrolling.

BUT in Windows running under CMD or Command such as QBasic and Edit, it doesn't work.

My conclusion: there is no way you can get QBasic or any other program running in DOS to recognize the mouse wheel. It is an invention that came after all work on DOS was completed.

IMHO - Mac

Posted: Wed Aug 15, 2007 6:36 am
by Mentat
Uhhh...You could write it in a running QB program with scrolling and save it to another file; this is the only loop hole I know.