Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!att!alberta!calgary!ksi_mistaya.UCalgary.CA!freedman From: freedman@ksi_mistaya.UCalgary.CA (Dan Freedman) Newsgroups: comp.sys.apollo Subject: how do you detect shift/ctrl key with mouse down in GPR? Keywords: GPR mouse key input Message-ID: <751@cs-spool.calgary.UUCP> Date: 20 Feb 89 19:44:57 GMT Sender: news@calgary.UUCP Reply-To: freedman@ksi_mistaya.UCalgary.CA (Dan Freedman) Organization: Knowledge Science Lab, U. of Calgary, Calgary, Canada. Lines: 16 A researcher here at the U. of Calgary is porting a large VLSI design system to our DN4500's running SR 10.1. He is using GPR to do i/o to the screen and keyboard, and is operating in direct mode. In order to get the user interface to behave as it does on other systems (ie: suns), he needs to be able to detect whether or not the shift or control keys are down when a mouse button is pressed. If they are, then different actions should be performed than when they are up. The manuals unfortunately don't say how to do this. I know that it is possible to do so in some way, since X windows (at least under 9.7 in borrow mode) is able to do it. Any ideas? Dan Freedman University of Calgary Computer Science Department 2500 University Drive N.W. freedman@cpsc.UCalgary.CA Calgary, Alberta, T2N 1N4 ...!alberta!calgary!freedman