[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Okay, where'd my NDAs go?
- Subject: Re: Okay, where'd my NDAs go?
- From: hochstrasse@ubaclu.unibas.ch (Urs Hochstrasser)
- Date: 1996/12/05
- Newsgroups: comp.sys.apple2
- Organization: Uni Basel
- References: <582rqe$epb@login.freenet.columbus.oh.us>
In article <582rqe$epb@login.freenet.columbus.oh.us>,
dalloff@freenet.columbus.oh.us (Dave Althoff) wrote:
> Start Tool Locator
> Start Memory Manager
> Reserve some memory
> Start Event Manager
> Start QuickDraw
> Load Tools
> Start Window Manager
> CTLStartUp
> MenuStartUp
> DeskStartUp
You know that since System 5 on you can put the list into a special
resource and then call _StartupTools?
> Once I've done all that, I build the Apple menu by getting a handle to my
> menu item ("About...") using NewMenu, then calling InsertMenu to put my
> menu entry into the Apple menu. Then I do...
Don't you need to create a menu bar first? But apparently it works so far...
> PushWord #$0001 ;ID for Apple menu
> _FixAppleMenu ;Tell TaskMaster to put the DAs back
>
> The program is right out of the book (p. 430) , except that I use
> "_FixAppleMenu" instead of "Tool $1E05". Yes, I have the macro set loaded.
>
> For what little bit this program does, it works just fine, except that the
> NDA list doesn't get rebuilt.
^^
What do you mean _re_built? Or do you simply mean you don't see _any_ NDAs?
> Any ideas? Note that I hit the panic
> button pretty quickly here; I'm on my way to look at the code and play
> with it right now... 8-)
I don't know the specifics right off the top of my head, but it's always a
good Idea to check for errors returned by the toolbox. If you don't want
to create an Alert Box to report the error you could change the screen
border color accordingly, or beep.
Good Luck!
Cheers
--Urs
_____________________________________________________________________
Urs Hochstrasser ('Cody') internet: hochstrasse@ubaclu.unibas.ch
Official Computer Wizard (CV) of the Botanical Institute Hebelstrasse
University of BASEL (Tel int. 7 23 32)
webmaster of http://www.unibas.ch/bothebel
_____________________________________________________________________