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

  1. Path: sparky!uunet!digex.com!digex!pcw
  2. From: pcw@access.digex.com (Peter Wayner)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Hiliting with the hilight color??? Problem
  5. Date: 21 Jan 93 14:36:01 GMT
  6. Organization: Express Access Online Communications, Greenbelt MD USA
  7. Lines: 19
  8. Message-ID: <pcw.727626961@digex>
  9. NNTP-Posting-Host: access.digex.com
  10.  
  11. I've been having problems with hilighting some text using
  12. the hilighting color. If I use the InvertRect command without
  13. doing anything, then it is possible to toggle between regular
  14. black on white text and inverted white on black text with
  15. a single call to InvertRect. 
  16.  
  17. If I clear the top bit of the right part of the toolbox memory,
  18. then I get a perfect result the first time I call InvertRect.
  19. The text goes from black on white to black on hilight color. But
  20. on the second call when I try to revert the text to normal, it turns
  21. black. 
  22.  
  23. What's the trick? Why isn't it toggling?
  24.  
  25. Any help would be much apprciated. Thanks....
  26.  
  27. Peter Wayner
  28. (pcw@access.digex.com)
  29.  
  30.