[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

900.0. "Why don't need realize a popup dial.box's shell " by AIDA::CARCANO () Thu Jun 08 1989 05:57

A question: why, using UIL-DRM, you don't need to realize the shell a
popup dialog box belongs to ?

To explain: I modified the famous DECburger in order to display the order-entry
box on the screen of another workstation that is not the one where the main
window appears. To do this I open a new display and create a second application
shell.

Well, what is not clear to me is why, as soon as I manage the popup dialog box 
fetched from the UID file (parent specified is the second application shell), 
the popup window is mapped on the "remote" screen without any XtRealizeWidget 
call for the second application shell.

Excuse me if the question is trivial but I can't find any explanation in the 
documentation available.

Thanks a lot,

Matteo.


T.RTitleUserPersonal
Name
DateLines
900.1LEOVAX::TREGGIARIThu Jun 08 1989 07:1211
    The shell that is the parent of a popup dialog box is "hidden"
    intentionally from the application (that's why no documentation).
    As to your specific question, these shells are realized when they are
    created, and XtPopup'ed when the dialog box is managed.  That's
    why you see that behaviour.
    
    If you don't like the way it works, you can create your own popup
    shell and put a DwtWorkArea dialog box as its child.
    
    Leo