[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

2138.0. "Problem with Save Under ...DW/Ux/risc" by EVOAI2::DAN_M (Maya DAN) Thu Jan 25 1990 05:54

    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.RTitleUserPersonal
Name
DateLines
2138.1Save under already set?LEOVAX::TREGGIARIThu Jan 25 1990 07:459
    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.2Xcfb/Xmfb don't support SaveUndersMIPSBX::thomasThe Code WarriorThu Jan 25 1990 12:252
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.3fixed in UWS 2.2...CRLTRX::jgJim Gettys, Cambridge Research LabThu Jan 25 1990 14:334
Save Unders should work in 2.2 on RISC.

There were problems in 2.0 and 2.1.
			- Jim