home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 21999 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.1 KB

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