home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22123 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.9 KB  |  40 lines

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