Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-unix!hplabs!felix!trwrb!cadovax!kaz From: kaz@cadovax.UUCP Newsgroups: comp.sys.amiga Subject: Re: Getting right mouse button signals from Intuition Message-ID: <1329@cadovax.UUCP> Date: Sun, 18-Jan-87 02:37:13 EST Article-I.D.: cadovax.1329 Posted: Sun Jan 18 02:37:13 1987 Date-Received: Mon, 19-Jan-87 06:01:34 EST References: <838@laidbak.UUCP> Reply-To: kaz@cadovax.UUCP (Kerry Zimmerman) Organization: Contel Business Systems, Torrance, CA Lines: 23 In article <838@laidbak.UUCP> miker@laidbak.UUCP (Mike Roth) writes: >I am currently working on a program which has changable settings >on some lines. I would like to be able to increment these lines >by pointing to them and hitting the right mouse button (the left >mouse button decrements). I think this method is better than >hitting one of two arrow gadgets. >Mike Roth - {ihnp4, allegra, sun}!laidbak!miker I just looked up the answer in the Intuition User interface document. The answer is to set the RMBTRAP. This window flag when set, causes the right mouse button events to be trapped and broadcast as events. You can receive these events thru either the IDCMP or the Console. If you can, you might want to pick up a copy of the source to the EGAD gadget editor. It is a good example of how to use this flag and just about all the other features of Intuition as well. Kerry Zimmerman # {ucbvax,ihnp4,decvax}!trwrb!cadovax!kaz # cadovax!kaz@ucla-locus.arpa