Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!mintaka!think!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!agate!fugitive!slosser From: slosser@fugitive.berkeley.edu (Eric Slosser) Newsgroups: comp.sys.mac.programmer Subject: Re: How can I display alerts in a ROM patch and more... Message-ID: <1989Dec20.015719.3379@agate.berkeley.edu> Date: 20 Dec 89 01:57:19 GMT References: <8873@cs.yale.edu> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: slosser@fugitive.UUCP (Eric Slosser) Organization: /etc/organization Lines: 13 First, be sure that you HAVE to display an alert, and that the program will be in a state (i.e. the managers init'ed) that supports them. To get to your resources, save the name and vRefNum of your resource file. Use the fact that a0 points to your code (at boottime), and that your code is a resource in your resource file. RecoverHandle(), then HomeResFile(), then GetFInfo(). To get to screenbits when you don't have QD globals, use GetWMgrPort(). To use QD patterns (grey,white,etc), make your own. Eric Slosser, Gradual Student