[comp.sys.ibm.pc] Need a Mouse Driver for QuickBasic 4.0

med@pawl.rpi.edu (Marc T Edgar) (02/11/90)

I am writing some Quick Basic routines on an IBM AT (clone) with Quick Basic 
4.0 and would like to add a mouse interface.  I know that it is a fairly
striaght forward problem to do this but I have not found any books on 
quick basic that show how to do it. 

Information on where to find a routine or a copy of one would be very much
appreciated.  (If you send one please send the source code with out
compression or coding....my PC is not hooked to internet so I will
probably be typing it in by hand.:( )

Thanks in advance.

Marc Edgar
med@pawl.rpi.edu
fw5w@rpitsmts.bitnet

jamesd@techbook.UUCP (James Deibele) (02/13/90)

In article <&R7CB_@rpi.edu> med@pawl.rpi.edu (Marc T Edgar) writes:
>I am writing some Quick Basic routines on an IBM AT (clone) with Quick Basic 
>4.0 and would like to add a mouse interface.  I know that it is a fairly
>striaght forward problem to do this but I have not found any books on 
>quick basic that show how to do it. 

Try looking for _Microsoft Mouse Programmer's Reference_, published by 
Microsoft Press for $29.95 (ISBN: 1-55615-191-8).  It comes with two disks
that contain MOUSE.LIB, sample menus, and a bunch of sample programs.  It has
a bunch of examples, each with code fragments shown in BASICA, QuickBASIC, C,
and MASM.  Have had very favorable comments on it.  

You might also try looking for some of the programming libraries (shareware or
commercial), since many of them have mouse routines in them.


-- 
jamesd@techbook.UUCP ...!tektronix!nosun!techbook!jamesd
TECHbooks: The Computer Book Specialists  -  Voice: +1 503 646-8257
12600 SW 1st - Beaverton, OR - 97005

brown@vidiot.UUCP (Vidiot) (02/13/90)

In article <&R7CB_@rpi.edu> med@pawl.rpi.edu (Marc T Edgar) writes:
<I am writing some Quick Basic routines on an IBM AT (clone) with Quick Basic 
<4.0 and would like to add a mouse interface.  I know that it is a fairly
<striaght forward problem to do this but I have not found any books on 
<quick basic that show how to do it. 

Check out a copy of the book "Microsoft Mouse Programmer's Reference".  It
contains two diskettes that contain programs in the book.  Keep in mind
that the mouse cannot be program directly from Basic.  Assembly language
routines are needed and one of the files on the diskette is mouse.lib.
Well worth the money.
-- 
      harvard\     att!nicmad\              cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/  decvax!nicmad/   INTERNET:<@cs.wisc.edu,@astroatc:brown@vidiot>