home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18497 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.0 KB  |  25 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!sokoloff
  3. From: sokoloff@athena.mit.edu (James T Sokoloff)
  4. Subject: Re: that zooming rectangle
  5. Message-ID: <1992Nov17.013334.20534@athena.mit.edu>
  6. Sender: news@athena.mit.edu (News system)
  7. Nntp-Posting-Host: vongole.mit.edu
  8. Organization: Massachusetts Institute of Technology
  9. References: <880840m.52.721868202@ace.acadiau.ca>
  10. Date: Tue, 17 Nov 1992 01:33:34 GMT
  11. Lines: 12
  12.  
  13. In article <880840m.52.721868202@ace.acadiau.ca> 880840m@ace.acadiau.ca (MICHAEL ALEXANDER MCKAY) writes:
  14. >
  15. >What is the Toolbox routine that draws those zooming-at-ya rectangles that 
  16. >you see when you launch an app from the Finder?
  17.  
  18. Well, not too surprising that it's FrameRect.  Basically, you can set the draw
  19. mode to Xor and draw each rectangle twice.  (The first draws it and the second
  20. erases it.)  This way you don't have to mess with saving anything.  Just make
  21. sure you draw it exactly the same twice and it'll be gone...
  22.  
  23. --Jim Sokoloff
  24.  
  25.