Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!isc-br!jimc From: jimc@isc-br.ISC-BR.COM (Jim Cathey) Newsgroups: comp.sys.mac.programmer Subject: Re: Drawing in the menu bar (AGAIN) Message-ID: <2900@isc-br.ISC-BR.COM> Date: 2 Aug 90 15:42:12 GMT References: <9536@goofy.Apple.COM> Organization: ISC-Bunker Ramo, An Olivetti Company Lines: 21 In article <9536@goofy.Apple.COM> stevec@Apple.COM (Steve Christensen) writes: >If you want to work in a manner similar to InUse, you can't use QuickDraw. >Period. _SCSIDispatch can be called at any time, even in response to an >interrupt. QuickDraw uses the Memory Manager which means that you can't >use QuickDraw to do any drawing during an interrupt. Well, that's a bit harsh isn't it? Althought QD _can_ call the Memory Manager, it doesn't always do it. The things to avoid are opening and closing ports (which manipulate clipping regions), text drawing (if the font is unloaded), stretching versions of CopyBits (where it sucks up stack space), and many of the calls that refer to regions. Small 1:1 CopyBits, EraseRects, and the like should be just fine, shouldn't they? +----------------+ ! II CCCCCC ! Jim Cathey ! II SSSSCC ! ISC-Bunker Ramo ! II CC ! TAF-C8; Spokane, WA 99220 ! IISSSS CC ! UUCP: uunet!isc-br!jimc (jimc@isc-br.iscs.com) ! II CCCCCC ! (509) 927-5757 +----------------+ "With excitement like this, who is needing enemas?"