Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!pequod.cso.uiuc.edu!dorner From: dorner@pequod.cso.uiuc.edu (Steve Dorner) Newsgroups: comp.sys.mac.programmer Subject: Re: Hierarchical Menus in DAs Message-ID: <1991May14.144256.5588@ux1.cso.uiuc.edu> Date: 14 May 91 14:42:56 GMT References: <1991May11.214528.18598@world.std.com> <1991May12.205320.21492@cbnewsk.att.com> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at U-C Lines: 14 In article <1991May12.205320.21492@cbnewsk.att.com> ech@cbnewsk.att.com (ned.horvath) writes: >Don't confuse the menu's resource ID (which should be in the range "owned" >by your DA, hence no conflicts with other DAs) with the menuID, which is >the short integer given by the first two bytes of the MENU resource. Most >app writers keep these identical to avoid confusion, but they needn't be, Careful. The popup menu cdef supplied with the 6.0.x version of the CTB REQUIRES that menuid==resource id. The requirement is undocumented, but it's definitely there. Yet another obscure detail to delight us all... I don't know if the same is true with the System 7 popup CDEF. -- Steve Dorner, U of Illinois Computing Services Office Internet: s-dorner@uiuc.edu UUCP: uunet!uiucuxc!uiuc.edu!s-dorner