[comp.windows.x] Button3 problem in a Motif DrawingArea widget

caerws@gtsn17.UUCP (R. William Steer) (08/15/90)

Hello.

I'm running on a Sun SPARCstation under SunOS 4.0.3.  I have an 
application that creates a Motif DrawingArea widget as a child of
a ScrollingWindow.  I want to be able to catch Button{Press,
Release,Motion} events from the cursor while it's in the DrawingArea.
Button presses, motion, and release are being detected for Button1, and
button press events for Button2.  So far, so good.  The only other
functionality I need is to catch button press events from Button3, but
haven't figured out how to do that, in spite of trying LOTS of things.
The cursor changes to the 'menu' cursor on the button press, but I
don't get an event notification.

Can somebody give me a clue of where to look?  Thanks for any help.

+-----------------------------+-------------+-------------------------+
| Bill Steer                  | o         o |    Phone Nos.:          |
| Westinghouse Electric Corp. |  \   o   /  | Bell: (412)256-6367     |
| STC 701/201E                |   \ / \ /   | WIN:       236-6367     |
| P.O. Box 2728               |    o   o    |                         |
| Pittsburgh, Pa. 15230       |  =========  | cognac!gtsn17!caerws    |
+-----------------------------+-------------+-------------------------+