Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!emory!gatech!udel!rochester!cornell!uw-beaver!uw-june!wolf.cs.washington.edu!slh From: slh@wolf.cs.washington.edu (Scott Heyano) Newsgroups: comp.windows.x.motif Subject: Re: help: can't really unmap with XmNmappedWhenManaged Keywords: Motif 1.1, mwm, XmNmappedWhenManaged resource Message-ID: <15472@june.cs.washington.edu> Date: 15 Mar 91 21:04:30 GMT References: <93202@lll-winken.LLNL.GOV> Sender: news@cs.washington.edu Reply-To: slh@wolf.cs.washington.edu (Scott Heyano) Organization: Computer Science & Engineering, U. of Washington, Seattle Lines: 17 In article <93202@lll-winken.LLNL.GOV> chapman@lll-crg.llnl.gov (Carol Chapman) writes: |I am using Motif 1.1 on a VMS system with mwm. I have several form |dialog widgets which I manage and unmanage. I don't always want them |to be mapped when they are managed, so I set the XmNmappedWhenManaged |resource to False. The result is that the shell is still popping up, |but with nothing displayed inside it. Well, I don't want even the |shell to appear. How do I unmap it? I created these form dialogs |using a DEC GUI called VUIT which creates the widgets using UIL code, |so I never explicitly created shells. Looking through the OSF doc, I |see that there's a WM_STATE property. Do I need to set that, and if |so, can someone show me how? | I don't know about using uil, but when you create a dialog with one of the convenience function (and so don't explicitely create a shell) the widget returned is that of the child of the shell, so what you need to do is set the XmMappedWhenManaged resource on the parent of the widget return---the shell.