Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!mintaka!olivea!uunet!convex!lamont From: lamont@convex.com (Bradley Lamont) Newsgroups: comp.sys.mac.programmer Subject: problem with resedit 2.1 Message-ID: Date: 19 Jun 91 16:42:43 GMT Sender: usenet@convex.com (news access account) Organization: CONVEX Computer Corporation, Richardson, Tx., USA Lines: 23 Nntp-Posting-Host: trojan.convex.com I am using ResEdit 2.1 to build resources for my program written in Think C 4.0.5, running under system 7.0. Anyway, the problem... I have a MENU resource with 5 resources, numbered 1000, 2000, ... Anyway, when I run my program only the first, second, third, and fourth menus show up. If I reverse the calls in my program to InsertMenu for the 4th and 5th menus, then the fifth, not the fourth, shows up. Even wierder... Using the Think C debugger I looked at the menu items in memory and they have ID's 128, 129, 130, 131, 128 (a duplicate number). So why are the numbers different? Please help. I fixed the problem by creating a new resource file, but this seems counter productive Thanks Brad Lamont lamont@trojan.convex.com Convex Computer Corp. lamont@ux1.cso.uiuc.edu The University of Illinois at Urbana/Champaign