Path: utzoo!attcan!uunet!husc6!bloom-beacon!bu-cs!purdue!decwrl!ucbvax!agate!jell-o!lippin From: lippin@jell-o.berkeley.edu (The Apathist) Newsgroups: comp.sys.mac.programmer Subject: Re: LightSpeed C query Message-ID: <9972@agate.BERKELEY.EDU> Date: 14 May 88 23:08:27 GMT References: <597@tasis.utas.oz> <0WWkiAy00XcP0GR2Yn@andrew.cmu.edu> Sender: usenet@agate.BERKELEY.EDU Reply-To: lippin@jell-o.UUCP (Tom Lippincott, ..ucbvax!bosco!lippin) Organization: Authorized Service, Incorporated Lines: 19 Recently rs4u+@andrew.cmu.edu (Richard Siegel) said: >If you need ScreenBits.bounds, the easy way to do it from a DA is to use >OpenPort to open a new Grafport; that GrafPort's portRect is equal to >screenBits. > >As far as the patterns are concerned, you can use GetIndPattern() to get these >patterns from the standard system pattern list. The one I found was thge most trouble was the arrow cursor -- I don't know of any way to get at it without the quickdraw globals. It doesn't even have a resource ID. But using InitCursor instead of SetCursor takes care of that. --Tom Lippincott ..ucbvax!math!lippin lippin@math.berkeley.edu "It's a multi-purpose shape: a box." --David Byrne