Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!midway!dwal From: dwal@midway.uchicago.edu (David Walton) Newsgroups: comp.sys.mac.system Subject: Re: How to add startup icon to one that doesn't? Message-ID: <1990Jul20.001136.6842@midway.uchicago.edu> Date: 20 Jul 90 00:11:36 GMT References: <29956.26a4beb0@vaxb.acs.unt.edu> Organization: U. Chicago Computing Organizations, Academic and Public Comp. Lines: 55 In article <29956.26a4beb0@vaxb.acs.unt.edu> mouse@vaxb.acs.unt.edu (Dhanapong Saengrussamee-University of North Texas) writes: >Howdy! > > Following the subject of startup icon from my previous posted (about how to >make AppleShare INIT not to clear the screen during booting in progress). > > What about those INITs and cdevs that do not show their startup icon? Is >their a way to patch/add something to it so that it will show its icon (at >least) at startup? (As mentioned in previous posted, I am very good at peeking >& poking with ResEdit and stuffs....) >-----------------------------------+------------------------------------------ >Dhanapong "Mouse" Saengrussamee | AppleLink : U1364 | BITNET : mouse@untvax >Technical Support, CECS Dept., | BIX : d.mouse.s | CompuServe : 71301,1516 >University of North Texas, | GENie : d.saengrussa | IP : 129.120.1.4 >PO Box 5155, Denton, TX 76203-5155 | Internet : mouse@vaxb.acs.unt.edu >voice (817) 565-3790 | SPAN : utspan::utandx::untvax::mouse >fax (817) 565-4425 | THENet : untvax::mouse >------------------- UUCP : {...!uunet!convex!iex}!ntvax!vaxb.acs.unt.edu!mouse If an INIT doesn't show an icon at startup, it's not really possible to hack it up so it does. This sort of thing isn't managed by the system, but by a procedure which Apple distributes (to anybody who asks for it) for anybody who wants to include in in his her INIT. For that reason, if the routine wasn't included when the program was linked, you wouldn't be able to just twiddle some bits and make the call. As it is, the icon that is displayed is generally based upon runtime conditions (i.e., whether a certain installation procedure succeeds), and hacking that in bit-wise would be a pain in the **s. As far as AppleShare clearing the screen goes, it's a bad idea to muck with that for a completely different reason. AppleShare calls _InitWindows, because in some situations it needs to draw status information in a window (i.e., to tell the user that a volume is being auto-mounted). InitWindows is what clears the desktop. If you were to remove that call, AppleShare would, in the words of one Pete Helme, "blow big chunks." Pete also points out (this is in a Tech Note, by the way), that Apple software engineers who write software that calls InitWindows are being forcefully convinced that this is a Bad Idea, and will presumably mend their ways in the future. Hope this clears some things up. David -- David Walton Internet: dwal@tank.uchicago.edu University of Chicago { Any opinions found herein are mine, not } Computing Organizations { those of my employers (or anybody else). }