| 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 |
A customer of mine wants to have 4 windows that have only one
queue of events, that means that when one window after an event
does "something" this "something" must occur on all the windows.
Also all the messages must appear on all the windows.
I don't know if this is possible, I'm new with decw.
Can anyone help me ?
Thanks,
Gea.
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2921.1 | PSW::WINALSKI | Careful with that VAX, Eugene | Wed Jun 13 1990 13:16 | 10 | |
X only has one event queue per display. XNextEvent() gives you the next event on the queue, regardless of which window it came from. If you want to treat all events the same no matter which window they came from, don't discriminate based on the window ID in the event structure. To cause updates to one window to occur on the other windows, you will have to code your event processing so that you perform operations on all four windows, whenever you do something. --PSW | |||||
| 2921.2 | One application - four windows! | TLE::ROUTLEY | Kevin Routley - VAX/VMS & XD DEBUG | Thu Jun 14 1990 10:29 | 9 |
Even simpler ... have one application that creates the four windows. When the application recognizes that an event occurred in one of the windows, it does the work to update the other windows. That is effectively what debug does. You press the step button in the main window, and Debug updates the SRC window to show the new source line, and updates the OUT window with a new message. Kevin | |||||