Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!rtl.enet.dec.com!treggiari From: treggiari@rtl.enet.dec.com (27-Nov-1990 0709) Newsgroups: comp.windows.x.motif Subject: Re: XmDialogShell Message-ID: <9011272113.AA17493@decpa.pa.dec.com> Date: 27 Nov 90 21:13:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 17 > I would also like to realize the dialog using a work procedure. > I want the work procedure which creates the children to add > another work procedure to realize the dialog later. > > The problem is the child of the XmDialogShell must be unmanaged > or else the shell pops itself up automatically. But, if the > child is unmanaged then its children don't get realized. You can get what you want by realizing the dialog shell child instead of the the dialog shell itself. This can be done without managing the child. The dialog shell itself was realized when it was created. It has to be to be notified when its child is XtManageChild'ed. Leo