[comp.windows.x.motif] uil/Motif with VMS

jones@cernvax.cern.ch (robert jones) (01/29/91)

I am using UIL with MOTIF 1.1 on a VAXstation under VMS 5.3 with the DECwindows
window manager and have run into a couple of problems:

Popup menus.
I want to post a pop menu when the user presses a mouse button in a form widget
or any of its children. I add an event handler to the widget for button
presses and releases but it never gets the button 3 press event - only the
release. I get button 2 presses/releases so I have used
that to post the menu but this means the user has to press button 2 to display
the menu and button 3 to select from it - not nice. Specifying XmNmenuPost
for the popup menu does not help. Infact if I set XmNmenuPost to '<Btn3Down>'
I loose the input focus and never get it back thus locking the whole screen.
The only way out is to log in from another station and kill the process.

Compound String Tables.
I have tried to pass a compound string table to a callback as a parameter but
have not been successful. The callback is called but I can't
decipher the mechanism used to pass the table. The documentation does not
explain how to code a callback to receive a table parameter. An example would
be very useful.

Thanks in advance.

Bob Jones
jones@online.decent.cern.ch
jones%online@cernvax