Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!world!barry From: barry@world.std.com (Barry L Wolman) Newsgroups: comp.sys.mac.programmer Subject: Hierarchical Menus in DAs Summary: How do I prevent ID conflicts for hierarchical menus? Keywords: DA hierarchical menu resource Message-ID: <1991May11.214528.18598@world.std.com> Date: 11 May 91 21:45:28 GMT Organization: The World Public Access UNIX, Brookline, MA Lines: 27 IM-V page 236 says that the ID for hierarchical menus used by a DA must be in the range 236-255. Fine, but how do I number my two menus so as to avoid a conflict with hierarchical menus used by some other DA. If my DA is accessed via Suitcase II or MasterJuggler, there doesn't seem to be a problem. But, if I've used Font DA mover to move my DA into a suitcase, how can I determine the new IDs assigned by Font DA mover? I suppose I could assign names to them, load them via GetNamedResource and then use GetResInfo to determine the ID. Is there a better way? Suppose I try to put multiple DAs into a suitcase, each of them having some hierarchical menus. Font DA mover will renumber the menu IDs, but there are only twenty available numbers. What happens if there are more than twenty hierarchical menus? Why am I worrying about this with 7.0 about to be released?! Seriously, can anyone tell me definitively how all of this changes in 7.0 when Font DA mover has been dodo-ized? Thanks, Barry Wolman -- Barry Wolman 159 Oxbow Road Needham, MA 02192 617-449-3874