🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #37822

Re: Using MenuEdit

#37822
From: Alexis Rosen
Date: Wed, 15 Feb 1989 06:37
19 lines
1334 bytes
In article <3557@bgsuvax.UUCP> denbeste@bgsuvax.UUCP
(William C. DenBesten) writes:
>Choosing 'New' will indeed create a new menu.  The problem is that the
>menu the editor creates has a bug in it.  The menuID of the newly
>created menu will be zero, instead of the menu's resource ID.
>The menu appears to work fine within resedit, but when you call
>GetMenu()/GetNewMBar() (or was it MenuSelect()), the mac bombs.

Hm. Not on mine. The menuID has a little text box of its own in the window,
which you must alter (and then click "Do it!" or hit return).
Also, it seems from the above that you think the menuID should be the same
as it's resource ID. This is not necessarily true, and while it may be good
programming practice, it doesn't start out that way.

Also, you can always get the template-driven menu editor by choosing
"Open As..." and using Type "MENU".

Alexis Rosen
alexis@ccnysci.uucp
Technical Details
Message-ID: <1270@ccnysci.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!cmcl2!ccnysci!alexis
References: <1245@ccnysci.UUCP> <3557@bgsuvax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!cmcl2!ccnysci!alexis
From: alexis@ccnysci.UUCP (Alexis Rosen)
Newsgroups: comp.sys.mac
Subject: Re: Using MenuEdit
Message-ID: <1270@ccnysci.UUCP>
Date: 15 Feb 89 06:37:23 GMT
References: <1245@ccnysci.UUCP> <3557@bgsuvax.UUCP>
Reply-To: alexis@ccnysci.UUCP (Alexis Rosen)
Organization: City College of New York
Lines: 19