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