Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!samsung!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!jpotter From: jpotter@ucs.adelaide.edu.au (Jonathan Potter) Newsgroups: comp.sys.amiga.programmer Subject: Re: RMB question Message-ID: <3225@sirius.ucs.adelaide.edu.au> Date: 9 May 91 14:58:04 GMT References: <1991May8.155337.5049@zorch.SF-Bay.ORG> Organization: Information Technology Division, The University of Adelaide, AUSTRALIA Lines: 19 In article <1991May8.155337.5049@zorch.SF-Bay.ORG> mike@zorch.SF-Bay.ORG (Mike Smithwick) writes: >[] > >Is there an easy and legal way to catch a right-mouse button event under >intuition while still having access to the menus (since RMBTRAP traps >the right-button before the menu stuff could get it). One way to do it would be to have RMBTRAP set, then when you get a MENUDOWN message, quickly clear the RMBTRAP flag of the window and send Intuition a MENUDOWN message yourself. Kludgy, I know, but its the only way I can think of doing it. Jon -- | Jonathan Potter | | I'd really like to | | P.O. Box 289 | jpotter@guests.adelaide.edu.au | change the world... | | Goodwood, SA | FidoNet : 3:680/829 | But they won't give me | | Australia 5034 | | the source code. |