Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!shelby!eos!amelia!wk43!hultquis From: hultquis@wk43..nas.nasa.gov (Jeff P. M. Hultquist) Newsgroups: comp.sys.sgi Subject: popup menus on left-mouse Message-ID: <5141@amelia.nas.nasa.gov> Date: 8 Mar 90 19:48:44 GMT Sender: news@amelia.nas.nasa.gov Organization: NASA Ames Research Center, Moffett Field, CA Lines: 20 I would like to create a popup menu which appears when the user pushes the LEFT mouse button. This code ... dev = qread(&val); if ((dev == LEFTMOUSE) && (val == 1) { item = dopup(menu); } ... brings the menu up just fine, but the system waits for the release of the right button. How can I tell the system to watch the left button? Thanks. Please send mail, I will summarize. -- Jeff Hultquist hultquis@nas.nasa.gov NASA - Ames Research Center (415) 609-4970 Disclaimer: "I am not a rocket scientist."