home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / programm / 11728 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!proto!joe
  3. From: joe@proto.com (Joe Huffman)
  4. Subject: Re: programming in a mouse interface
  5. Organization: FlashTek, Inc.
  6. Date: Thu, 31 Dec 1992 20:52:06 GMT
  7. Message-ID: <1992Dec31.205206.1244@proto.com>
  8. References: <1992Dec31.062053.2414@netcom.com>
  9. Lines: 24
  10.  
  11. pdh@netcom.com (Phil Howard ) writes:
  12.  
  13. >What is the typical way this kind of thing is done?  Do programs actually
  14. >trap the serial signals sent by the mouse itself, or do they depend on the
  15. >int 33h functions?
  16.  
  17. I strongly suggest you use int 33h subfunction 12 to have the mouse driver
  18. call your code to handle the mouse events.
  19.  
  20. >I notice the int 33h functions mostly deal with a row and column, and I
  21. >assume this refers to the existing video mode.  Can the mouse drivers
  22. >handle all the video modes at least through to 1280x1024 in terms of
  23. >knowing correctly the number of columns and rows?  Or do you HAVE to use
  24. >functions 7 and 8 to tell the driver?
  25.  
  26. Use subfunction 12 and draw the mouse cursor yourself.  I don't know of
  27. any mouse drivers that know of all the various super VGA modes.
  28.  
  29. Alternately you can use a graphics library that does all this for you.
  30.  
  31. Flash Graphics from FlashTek, Inc. is one such library...
  32. -- 
  33. netcom!proto!joe
  34. joe@proto.com
  35.