home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!paladin.american.edu!gatech!destroyer!news.iastate.edu!niko
- From: niko@iastate.edu (Nikolaus E Schuessler)
- Subject: Re: My Resource ID's keep changing numbers!!!!
- Message-ID: <C1Ex2H.Dwy@news.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames, IA
- References: <1993Jan25.052531.7806@dunix.drake.edu>
- Date: Mon, 25 Jan 1993 13:49:28 GMT
- Lines: 28
-
- In article <1993Jan25.052531.7806@dunix.drake.edu> kjt001@dunix.drake.edu (Devil Bunny!) writes:
- >I'm working with Think C 4.0 and ResEdit 2.1.1, and I am trying to
- >change the resource ID's for my menus. I can change the numbers, and
- >they save - whenever I open the .rsrc file, it shows the correct IDs,
- >but when I try to access them with Think C, I can only access them with
- >IDs of 128,129, and 130. I've assigned them as 400,401,and 402.
- >
- >I've created a MBAR resource (ID 400), and listed those three menu
- >resources in them. I can load the resourses and display them on the
- >screen with the MBAR resource. But when I try to add more items, I
- >can't access them with IDs of 400,401,402 - and when they are clicked
- >on, they return the IDs of 128,129,and 130.
- >
- >Why can't I change these resource numbers??? And what's screwing up;
- >ResEdit or Think C?
- >
-
- There are two places where you have to make the change. One is the
- resource id which you probably have changed. I'm not at a mac now, but
- you need to open the menu resource. There is a menu that pops up
- with a choice that is 'get info' or change MDEF id or something like
- that. Choose it and you should be able to find the 128-130 number
- that needs to be changed still.
- --
- Niko Schuessler
- Project Vincent Systems Manager email: niko@iastate.edu
- Iowa State University Computation Center voice: (515) 294-1672
- Ames IA 50011 snail: 272 Durham
-