Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news From: rnewman@bbn.com (Ron Newman) Newsgroups: comp.windows.x.motif Subject: Problem with posting Popup Menu Message-ID: <1991Jun29.010918.27805@athena.mit.edu> Date: 29 Jun 91 01:09:18 GMT Sender: news@athena.mit.edu (News system) Organization: MIT Lines: 40 I am trying to place a PopupMenu inside a Motif DrawingArea in response to Mouse Button 2, using the following Wcl-assisted resource file: Mri*wcTrace: true Mri.wcChildren: draw *draw.wcClassName: XmDrawingArea *draw.wcPopups: popupmenu *draw.height: 300 *draw.width: 300 *draw.translations: #override \n\ : WcTraceACT("Should Popup Menu") MriPopupACT(*popupmenu) *popupmenu.wcConstructor: XmCreatePopupMenu *popupmenu.wcChildren: one, two, three *one.wcClassName: XmPushButtonGadget *two.wcClassName: XmPushButtonGadget *three.wcClassName: XmPushButtonGadget However, the menu does not appear when I hit mouse button 2. Even stranger, the server seems to lock up (sometimes temporarily, sometimes "permanently", requiring a kill from a remote-login) when I hit mouse button 3--even though I have no translation for that event. If I add this line to the resource file: *popupmenu.menuPost: the menu will post when I hit mouse button 2, but I still get the weird grabbing behavior when I hit mouse button 3. What's going on here? /Ron Newman rnewman@bbn.com