Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!rex!uflorida!shark!jeffb From: jeffb.bbs@shark.cs.fau.edu (Jeffrey Boser) Newsgroups: comp.sys.mac.programmer Subject: menu items Message-ID: <8ZRe12w163w@shark.cs.fau.edu> Date: 14 Apr 91 19:29:42 GMT Sender: bbs@cs.fau.edu (Waffle BBS) Organization: Florida Atlantic University Lines: 21 I have a file (structured) with up to 1000 chunks of information, each with their own name. The filled slots may not be consecutive (1,3,4,5,20...) I want to add the names to a pop-up menu, but since the slots are accessed using IDs, and not names (what if two had the same name?), I need to be able to take a menu item and store in it, invisibly, the ID of its corresponding slot. (or is there another way that comes to mind.) I thought about taking the last two bytes of its name as an int, but when the menu manager copies the name, it didnt copy anything beyond the last valid character. (Maybe it will, or I did it wrong.) anybody got any helpful insights? thanks in advance. .....jeff jeffb.bbs@shark.cs.fau.edu "You call these opinions?" "Make something an idiot can use, and only an idiot will use it" -RAH