🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4946

Reading Right Button

#4946
From: Bits_of_Magic
Date: Tue, 21 Aug 1990 04:22
15 lines
761 bytes
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);
.
.
.
Wait(1<<MyWindow->userPort->mp_SigBit);

If you press the left button it exits Wait().  If you press the right button
it doesn't.  Any ideas?

Nicky Robinson
<bits_of_magic@cup.portal.com>
Technical Details
Message-ID: <33039@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!apple!portal!cup.portal.com!Bits_of_Magic

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!apple!portal!cup.portal.com!Bits_of_Magic
From: Bits_of_Magic@cup.portal.com
Newsgroups: comp.sys.amiga.tech
Subject: Reading Right Button
Message-ID: <33039@cup.portal.com>
Date: 21 Aug 90 04:22:28 GMT
Organization: The Portal System (TM)
Lines: 15