home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10507 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  889 b 

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!swrinde!gatech!pitt!ding
  2. From: ding@cs.pitt.edu (Yijun Ding)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Follow-up (Can't see mouse cursor on Hercules graphic mode)
  5. Message-ID: <17436@pitt.UUCP>
  6. Date: 11 Nov 92 14:13:48 GMT
  7. Sender: news@cs.pitt.edu
  8. Organization: Univ. of Pittsburgh Computer Science
  9. Lines: 18
  10.  
  11. Thanks to many who replied. This is actually the second time I asked,
  12. and I got mostly the same reply:
  13.  
  14.   initgraph();              /* partial TC code */
  15.   pokeb(0,0x0449,6);
  16.   mouseinit();
  17.  
  18. The above code, apparently work for some people (with Microsoft Mouse), 
  19. but did not work on my computer.  Finally, I find that the following 
  20. alternative:
  21.  
  22.   (the above)
  23.   reset mouse range to hercules
  24.   simulate mouse cursor by putimage(...,XOR_PUT)
  25.   mouse button call works.
  26.  
  27. That is, all mouse call works except no mouse arrow...
  28.  
  29.