Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!bloom-beacon!oberon!pollux.usc.edu!kurtzman From: kurtzman@pollux.usc.edu.UUCP Newsgroups: comp.sys.mac.hypercard Subject: Re: PopUp menus and Hypercard Message-ID: <5264@oberon.USC.EDU> Date: Wed, 18-Nov-87 05:43:49 EST Article-I.D.: oberon.5264 Posted: Wed Nov 18 05:43:49 1987 Date-Received: Sat, 21-Nov-87 08:36:05 EST References: <190STORKEL@RICE> Sender: news@oberon.USC.EDU Reply-To: kurtzman@pollux.usc.edu (Stephen Kurtzman) Organization: University of Southern California, Los Angeles, CA Lines: 12 In article <190STORKEL@RICE> STORKEL@RICE.BITNET (Scott Storkel) writes: >I'm having trouble getting the PopUpMenu XFCN that I downloaded from Info-Mac >to work. The file I downloaded contained the PopUpMenu pascal code by Andrew >Gilmartin, and a file that contained the XFCN resource. When I try to use this >function, nothing happens, and the function returns 0. I have another popup >menu demo that works fine outside of Hypercard. What am I doing wrong? Does >anyone have a sample of the correct way to use this function? Thanks for the >help. > Scott, make sure you call PopUpMenu from a mouseDown handler and not a mouseUp handler. The popup menu will only appear while the mouse is down.