[comp.windows.x.motif] XmDialogShell

nazgul@alphalpha.com (Kee Hinckley) (11/27/90)

> Is there a way to prevent XmDialogShell from popping itself
> up when its child is managed?  I don't see any resource that
> looks like it would do the trick.
In theory MappedWhenManaged would do the trick, however it
doesn't work for Dialogs.  I have reported this as a bug.

> Does Motif 1.1 let you do things normally (using XtPopup/down),
> or does it do all the same tricky, confusing, behind-the-scenes
> things that 1.0 does?
Same as 1.0 (basically).  The bug report I submitted was for 1.1

treggiari@rtl.enet.dec.com (27-Nov-1990 0709) (11/28/90)

 
> 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