home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!caen!nic.umass.edu!titan.ucc.umass.edu!rjr
- From: rjr@titan.ucc.umass.edu (Richard J. Resnick)
- Subject: Re: Beginner's Hierarchical Menu Problem
- Message-ID: <BzLz4t.99u@nic.umass.edu>
- Sender: usenet@nic.umass.edu (USENET News System)
- Organization: University of Massachusetts, Amherst
- References: <BzKItx.qs@nic.umass.edu> <BzLL5E.Btp@cantua.canterbury.ac.nz>
- Date: Mon, 21 Dec 1992 12:10:05 GMT
- Lines: 31
-
- Hello again, I am the original poster of this problem. Here is the
- code again, to refresh anyone's memory who cares to be refreshed:
-
-
- (*Loads up the Desk Accesories in the Apple Menu*)
- aMenu := GetMHandle(APPLE_MENU_ID);
- AddResMenu(aMenu, 'DRVR');
-
- (*Tries to load up the Fonts in the FONT_MENU*)
- aMenu := GetMHandle(FONT_MENU_ID);
- InsertMenu(aMenu, -1);
- AddResMenu(aMenu, 'FONT');
-
- The error that I get when I run this under Think Pascal is "Think
- Pascal unexpectedly quit", and when I build the application and run
- it, I get a missing coprocessor error.
-
- I'v tried to change the number of the FONT resource to > 128, and
- that didn't help. I tried to trace the problem, and it dies right at
- AddResMenu(aMenu, 'FONT').
-
- Could this problem stem off of the fact that my mac can't find the
- FONTs? I don't have a suitcase, it is all stored in the System. Any
- ideas you all might have would be greatly appreciated.
-
- Oh yeah, in case this is your first time reading about this, I am
- using a Classic 4/40, no additional features of any sort whatsoever.
-
- Thanks in advance.
-
- Richard Resnick
-