Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: mjensen@ccwf.cc.utexas.edu (Marc S. Jensen) Newsgroups: comp.lang.pascal Subject: Re: Looking for a Mouse Unit Summary: Mouse code in book Message-ID: <40341@ut-emx.uucp> Date: 29 Nov 90 05:04:48 GMT References: <950046@hpclapd.HP.COM> Sender: news@ut-emx.uucp Reply-To: mjensen@ccwf.cc.utexas.edu (Marc S. Jensen) Organization: The University of Texas at Austin Lines: 26 In article <950046@hpclapd.HP.COM> defaria@hpclapd.HP.COM (Andy DeFaria) writes: >I'm looking for a TP Unit that helps me control my mouse. Either that or a >pointer towards how I can do it myself. I have scanned this notes group >quickly and I can't seem to find much discussion about it. Perhaps it has >been archived away. How do I program my mouse? There's a Sybex book by Charles C. Edwards that contains a very informative section on how the Microsoft mouse driver works. It includes the documented source code for a complete TP mouse library. The book was written specifically for TP 3.0, but almost all the code in it works without modification. I had no problems whatsoever getting the mouse code to work. BTW, the book's name is 'Advanced Techniques in Turbo Pascal' If you can't find it, and you still need the information, let me know and I will email you the source. (I have it on file somewhere, in the form of a TP unit) -- Marc Jensen mjensen@ccwf.cc.utexas.edu University of Texas at Austin ----- "Never attribute to malice that which is adequately explained by stupidity!"