Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!mailrus!uwmcsd1!ig!agate!pasteur!ames!claris!apple!han From: han@Apple.COM (Byron Han, Architect) Newsgroups: comp.sys.mac.programmer Subject: Re: Dialogs in INITS (LSC3) Message-ID: <16737@apple.Apple.COM> Date: 7 Sep 88 17:08:01 GMT References: <1325UD040164@NDSUVM1> <6860023@vx2.NYU.EDU> <16736@apple.Apple.COM> Reply-To: han@apple.com.UUCP (Byron Han, Architect) Organization: Apple Products - Networking & Communications Lines: 21 In article <16736@apple.Apple.COM> han@apple.com.UUCP (Byron Han, Architect) writes: >Yes you need to INIT the appropriate managers. For Dialogs, this would be >InitGraf(@thePort); Oops. thePort is a global variable and as such should not be used. (standalone code and all that). I believe that ShowInit already calls InitGraf for you so if you are using ShowInit you are okay. ------------------------------------------------------------------------------ Byron Han, Communications Architect "Just say NO to MS-DOS." Apple Computer, Inc. ------------------------------------- 20525 Mariani Ave, MS27Y domain: han@apple.COM Cupertino, CA 95014 UUCP:{sun,voder,nsc,decwrl}!apple!han -------------------------------------- GENIE: BYRONHAN ATTnet: 408-973-6450 Applelink: HAN1 CompuServe: 72167,1664 ------------------------------------------------------------------------------