home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20724 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!paladin.american.edu!gatech!destroyer!gumby!kzoo!k044477
  3. From: k044477@hobbes.kzoo.edu (Jamie R. McCarthy)
  4. Subject: Re: How do I make my windows handle a multiple-monitor system?
  5. Message-ID: <1993Jan5.220455.27406@hobbes.kzoo.edu>
  6. Organization: Kalamazoo College
  7. References: <1993Jan5.193034.19490@netcom.com> <1993Jan5.204818.15237@kth.se>
  8. Date: Tue, 5 Jan 1993 22:04:55 GMT
  9. Lines: 20
  10.  
  11. d88-jwa@dront.nada.kth.se (Jon WΣtte) writes:
  12. >bskendig@netcom.com (Brian Kendig) writes:
  13. >
  14. >>To drag the window, I just set up a drag rect with
  15. >>    dragRect = screenBits.bounds;
  16. >
  17. >That should be
  18. >
  19. >    dragRect = ( * GetGrayRgn ( ) ) -> rgnBBox ;
  20.  
  21. "Should" is such an iffy word.  Yes, it _should_, but it doesn't make
  22. any difference;  Color QuickDraw's dragging routines detect any
  23. rectangles that are similar to screenBits.bounds, and automagically
  24. convert them into rectangles that are similar to
  25. (**GetGrayRgn()).rgnBBox.  So those two lines of code will be handled
  26. identically.
  27. -- 
  28.  Jamie McCarthy      Internet: k044477@kzoo.edu      AppleLink: j.mccarthy
  29.  "A degree in Computer Science from Berkeley didn't much qualify me to uphold
  30.   the banner of Chaos against the forces of Order."              - R. Zelazny
  31.