[comp.windows.x] Help!: Need to pop dialog shells with main window

brennan@rtp.dg.com (Dave Brennan) (03/26/91)

I've got an application which has a main window (applicationShell) and
several dialog shells which may be up at any given time.  The user can
close (unmap / unmanage) the main window, at which time the dialogs are
automatically unmapped by Xt (Motif?).  When the main window is remapped I
want to remap any dialogs that were mapped when the window was unmapped.
By default the dialogs do not get remapped when the main window is
remapped.  

I tried two things which did not work: 1) to manage the dialog shells after
managing the main window, and 2) to manage the dialog shells in the popup
callback of the main window.  If I can't find another solution I'll have to
resort to making the dialog shells application shells.

Anybody have any ideas?

                                          |\
Dave Brennan                              | \____oo_     brennan@rtp.dg.com
=========================================((__|  /___>    ...rti!dg-rtp!brennan
User Interfaces, Data General                | //        daveb@rpitsmts.bitnet
Research Triangle Park, NC                   |//         Phone: (919) 248-6330