Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!maverick.ksu.ksu.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: popup menu cdef Message-ID: <1991Jan8.133401.13191@ux1.cso.uiuc.edu> Date: 8 Jan 91 13:34:01 GMT References: <1991Jan7.223500.22704@ux1.cso.uiuc.edu> Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at U-C Lines: 17 I wrote: >I have a couple of popup font menus in one of my dialog boxes. I'm using >the popup CDEF from the Communications Toolbox. > >The first time the dialog box is used (in standard GetNewDialog/ModalDialog/ >DisposDialog fashion), it works JUST FINE. Subsequent uses of the dialog >draw the popups fine, but cause crashes if the popups are pressed on Alex Kazim (may he be forever blest :-)) gave me the answer. The popup CDEF requires that the menu used has the same menu id as it does resource id. I am unable to find documentation for this restriction, but it is certainly there. -- Steve Dorner, U of Illinois Computing Services Office Internet: s-dorner@uiuc.edu UUCP: uunet!uiucuxc!uiuc.edu!s-dorner