home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!rick
- From: rick@akbar.cc.utexas.edu (Rick Watson)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Hiliting with the hilight color??? Problem
- Date: 23 Jan 1993 03:17:16 GMT
- Organization: University of Texas at Austin
- Lines: 15
- Message-ID: <1jqdbsINN2sb@geraldo.cc.utexas.edu>
- References: <pcw.727626961@digex>
- NNTP-Posting-Host: akbar.cc.utexas.edu
-
- >If I clear the top bit of the right part of the toolbox memory,
- >then I get a perfect result the first time I call InvertRect.
- >The text goes from black on white to black on hilight color. But
- >on the second call when I try to revert the text to normal, it turns
- >black.
-
- Did you remember to do the BitClr((Ptr)HiliteMode,pHiliteBit);
- before each InvertRect? Quickdraw resets the bit after
- various calls. This is documented somewhere in the vicinity
- of the description of pHiliteBit.
-
- Rick Watson
- The University of Texas Computation Center, Networking Services, 512/471-3241
- internet: r.watson@utexas.edu bitnet: watson@utadnx
- uucp: ...!cs.utexas.edu!ut-emx!rick span: utspan::utadnx::watson
-