Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!crdgw1!montnaro From: montnaro@spyder.crd.ge.com (Skip Montanaro) Newsgroups: comp.windows.x.motif Subject: Re: interactive placement of pop-ups & precendence of main app window Message-ID: Date: 11 Apr 91 13:26:45 GMT References: Sender: news@crdgw1.crd.ge.com Reply-To: montanaro@crdgw1.ge.com (Skip Montanaro) Organization: GE Corporate Research & Development, Schenectady, NY Lines: 15 In-reply-to: montnaro@spyder.crd.ge.com's message of 9 Apr 91 02:39:53 GMT In article I asked again about interactive placement of popups, more clearly than the first time. I received a perfect answer from a fellow at Bellcore (thanks Andrew, you get an 'A'). To summarize, dialog widgets are subclassed from TransientShell which sets the WM_TRANSIENT_FOR hint. Mwm sees this and responds accordingly, generally doing useful things if the popup is short-lived. To get interactive popup placement, and other more independent behavior appropriate to long-term popups, use a TopLevelShell as the parent of the widget you're interested in displaying. Use XtPopup/XtPopdown to turn it on and off. -- Skip (montanaro@crdgw1.ge.com)