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 single question. It seems to me that, when I Fetch and Manage a Caution Box, the Server don't display it immediatly when I want it on the screen.It seems that it does it in an 'asynchronous way'. In my examples (using then toolkit), I ask the user for any validation through a Caution box. If the answer is yes, ! THEN ! I Fetch and Manage a List Box. The result is : the List box is Fetched and Manager (displayed) and THEN the caution box is displayed.Why ? Any suggestion ? Thank you Mustapha
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
996.1 | Must process events | LEOVAX::TREGGIARI | Thu Jun 22 1989 06:58 | 22 | |
Because you are not returning to XtMainLoop after managing the Caution Box? Two things must happen before the Caution Box will become fully displayed: 1. The application must send the map window request to the server. This does NOT happen when the toolkit calls the Xlib map routine. Xlib buffers requests for efficiency. It will happen when you return to XtMainLoop because it calls Xlib routines that will flush the buffer. 2. The application must process the Expose events generated by the server in response to the map requests. That is, step 1 without step 2 will result in an empty window being displayed. The main point is that a DECwindows application must ALWAYS process the event queue or you can run into this and other problems. Leo | |||||
996.2 | CAUTION BOX | EVOAI2::BOUNOUH | Thu Jun 22 1989 10:51 | 3 | |
Thank you |