home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!digex.com!digex!pcw
- From: pcw@access.digex.com (Peter Wayner)
- Newsgroups: comp.sys.mac.programmer
- Subject: Hiliting with the hilight color??? Problem
- Date: 21 Jan 93 14:36:01 GMT
- Organization: Express Access Online Communications, Greenbelt MD USA
- Lines: 19
- Message-ID: <pcw.727626961@digex>
- NNTP-Posting-Host: access.digex.com
-
- I've been having problems with hilighting some text using
- the hilighting color. If I use the InvertRect command without
- doing anything, then it is possible to toggle between regular
- black on white text and inverted white on black text with
- a single call to InvertRect.
-
- 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.
-
- What's the trick? Why isn't it toggling?
-
- Any help would be much apprciated. Thanks....
-
- Peter Wayner
- (pcw@access.digex.com)
-
-