Path: utzoo!attcan!uunet!husc6!bbn!rochester!pt.cs.cmu.edu!andrew.cmu.edu!rs4u+ From: rs4u+@andrew.cmu.edu (Richard Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: LightSpeed C query Message-ID: <0WWkiAy00XcP0GR2Yn@andrew.cmu.edu> Date: 13 May 88 14:43:24 GMT References: <597@tasis.utas.oz> Organization: Carnegie Mellon Lines: 17 In-Reply-To: <597@tasis.utas.oz> Because Desk Accessories use A4 as the base for globals, instead of A5, the QuickDraw globals will not be initialized properly. You should not use QuickDraw globals from a desk accessory or device driver, for this reason. 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. -Rich Rich Siegel THINK Technologies