| 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 | 
    One of my customer has  an interesting problem under the Ultrix/Risc 
    version of DECWindows:
    
   'The server is capable of doing save unders, but it seems that
    DECWindows does not use it. I wanted to use it for the pulldown menus
    because I have a lot of graphic information to redraw everytime and
    this could speed things up.
    
    The problem is as follows :
    
    - When a pulldown menu is about to be mapped (Map Callback), I set the
      save_under attribute in the window associated to the pull down menu
      widget. This seems to work fine (at least I do not get anything from
      the server).
    
    - I was expecting that when the menu window is eventually mapped, the
      underlying area in my graphic window would be saved and then restored
      when the menu is unmapped.
    
    - But this is not the case; I continue to receive Expose Events for the
      areas underneath the pulldown menus. So I do not understand why this
      does not work ?
    
    Note : I did it this way, because I could not figure out a means do set
    this attribute in the UIL. Also I used this callback, because it looks
    like that this is the moment when the window gets created in the
    server.'
    
    I anyone out there as an idea ..
    Thanks for the help
    Maya DAN
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 2138.1 | Save under already set? | LEOVAX::TREGGIARI | Thu Jan 25 1990 07:45 | 9 | |
|     Two points...
    
    First, it's not the menu's window that you would want to change,
    it's the menu's parent's window (i.e. the shell widget).
    But, the toolkit already sets the save under attribute on that
    window (as far as I know...).
    
    Leo
    
 | |||||
| 2138.2 | Xcfb/Xmfb don't support SaveUnders | MIPSBX::thomas | The Code Warrior | Thu Jan 25 1990 12:25 | 2 | 
| Even though the server has they do the UWS server don't honor SaveUnder. You'll have to do the repainting in your application. | |||||
| 2138.3 | fixed in UWS 2.2... | CRLTRX::jg | Jim Gettys, Cambridge Research Lab | Thu Jan 25 1990 14:33 | 4 | 
| Save Unders should work in 2.2 on RISC. There were problems in 2.0 and 2.1. - Jim | |||||