[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

1367.0. "Resizing ADBs" by ULTRA::WRAY (John Wray, Secure Systems Development) Tue Sep 05 1989 11:28

    Cross-posted from DECwindows Programming:
    
    A question about geometry managers and the ADB widget:
    
    I have an ADB widget containing two widgets, a DB and an ADB widget,
    such that the DB widget is fixed size, and the ADB widget's size is
    determined by its attachments as follows:
    
    		-------ADB1---------
    		|       |          |
    		| DB1   |  ADB2    |
    		|       |          |
    		--------------------
    
    Attachments
    -----------
    ADB2(left_attachment) - DwtAttachWidget(DB1)
    ADB2(right_attachment) - DwtAttachAdb
    
    The user resizes ADB1 with the mouse, so that it is narrower than DB1.
    DB1 is now clipped by the parent ADB1.  What resize command does ADB2
    receive?  Is it told to take on a negative width, or a zero width, or
    what?  What does ADB2 tell its children to do?
    
    Is there a way that a high-level DWT application can be told when such
    a situation occurs, so that it can manually re-arrange things on the
    screen?
    
    John

T.RTitleUserPersonal
Name
DateLines