popup menus on left-mouse

Jeff P. M. Hultquist hultquis at wk43..nas.nasa.gov
Fri Mar 9 05:48:44 AEST 1990


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 at nas.nasa.gov
NASA - Ames Research Center		(415) 609-4970
Disclaimer:  "I am not a rocket scientist."



More information about the Comp.sys.sgi mailing list