Article View: comp.sys.amiga.tech
Article #4953Re: Reading Right Button
From: Ken Farinsky - CATS
Date: Tue, 21 Aug 1990 14:25
Date: Tue, 21 Aug 1990 14:25
19 lines
1137 bytes
1137 bytes
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
Technical Details
Message-ID:
<13915@cbmvax.commodore.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!know!samsung!uunet!cbmvax!kenReferences:
<33039@cup.portal.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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