Anyone has got code for mouse programming in QB?
Printable View
Anyone has got code for mouse programming in QB?
There are zillions of them.
The only one I can remember the name of is VS Mouse.
If you want the BEST QB STUFF ANYWHERE, go to Toshi's site. Toshie Horie is his name, and he's got a great page of QB stuff. I'll find the URL and post it.
Life is good. Play chess.
go to this link
http://www.qbasic.com/files/mouse.zip
the link doesn't work for me
:(
I donnt why you cannt !!
type qbaisc+mouse+code
i n www.google.com
or www.yahoo.com
then you find alots of examples
Wokey, use interrupts man...
or see the thread 'what is call absolute'
http://www.vbforums.com/showthread.p...threadid=87265
How about this:
'Please load QB with /L/AH
'$include:'qb.bi'
Dim Regs as RegType
'Enable mousy
Regs.AX=&H1
CALL INTERRUPT(&H33,Regs,Regs)
'Get mousy pos
Regs.AX=&H3
CALL INTERRUPT(&H33,Regs,Regs)
button%=Regs.BX
x%=Regs.CX
y%=Regs.DX
'muhaha