storkel@rice.bitnet.UUCP (11/17/87)
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 Storkel Rice University Macintosh Software Development (STORKEL@RICE.BITNET) Disclaimer: The views presented here in NO way represent the official views of Rice University, nor ICSA.
kurtzman@pollux.usc.edu.UUCP (11/18/87)
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.