| 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 | 
I'm trying to pass a widget hierarchy from one process to another. What happens is the first application creates a main_window which will contain the main_window of all the processes it spawns. When the parent creates the detached process ($creprc()), how can I pass it's main_window "window ID" to the new process so it [the child] can create windows in the parents main_window? Or should I ask Can I do this? John
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 291.1 | LEOVAX::TREGGIARI | Fri Feb 24 1989 07:43 | 6 | ||
|     You cannot pass a widget hierarchy between processes.  Widget ids
    are pointers to widget "instance" data structures.  So the id is
    only valid in that address space.
    
    Leo
 | |||||
| 291.2 | Can it be done somehow? | WJG::GUINEAU | Fri Feb 24 1989 08:08 | 17 | |
| I'm using UIL. Is it somehow possible to get DwtFetchWidget() to use the main_window of another process as the parent to the new Hierarchy? The reason I ask is I am working on an application which allows the user to spawn a fixed number (4) of processes. The proceses are virtually identical, do *all* the work and have relatively complex displays (So passing window operations back to the parent would get real messy). The parent is just a "window collection box and common startup/termination point" for the application as a whole. John | |||||