Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!umich!vela!m.cs.uiuc.edu!uiucdcs!carroll From: carroll@cs.uiuc.edu (Alan M. Carroll) Newsgroups: comp.windows.x.motif Subject: Re: How can I remove sashes from window panes? Message-ID: <1991Apr6.205736.2086@m.cs.uiuc.edu> Date: 6 Apr 91 20:57:36 GMT References: Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager)) Reply-To: carroll@cs.uiuc.edu (Alan M. Carroll) Distribution: comp Organization: Technophiles Inc. - Engineers with Attitude Lines: 16 Nntp-Posting-Host: ash.cs.uiuc.edu I finally got the sash removal to work, but I still have a question. I'm running under SunOS 4.1.1, with Motif 1.1. What I needed was to have a Menubar in a paned window, without a sash. I did this by adding a callback to XmNmapCallback for the menubar, which when called sets the min and max size for the menubar to the current size. However, in order to get this to actually work, I also had to add an X event handler with a StructureNotifyMask, which if the event is a MapNotify, invokes XtCallCallbacks on the widget and XmNmapCallback. My question is, why did _I_ have to add this X event handler? Thanks! P.S. I know a lot of X window stuff, but very little Motif. -- Alan M. Carroll <-- Another victim of applied metaphysics Epoch Development Team Urbana Il. "I hate shopping with the reality-impaired" - Susan