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