Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!know!samsung!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: Reading Right Button Message-ID: <13915@cbmvax.commodore.com> Date: 21 Aug 90 14:25:48 GMT References: <33039@cup.portal.com> Reply-To: ken@cbmvax (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 19 In article <33039@cup.portal.com> Bits_of_Magic@cup.portal.com writes: >I am trying to read the right button through Intuition. From the Intuition >manual it appears that all you need to do is add RMBTRAP to the >ModifyIDCMP call. What I am doing: > >ModifyIDCMP(MyWindow, MOUSEBUTTONS|RMBTRAP); ^^^^^^^ Don't do this. RMBTRAP is a window Flag, not an IDCMP Flag. Put RMBTRAP into the Flags field of the new window structure, or toggle the bit in the window structure (Flags). I believe that you can do this on the fly. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky