Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

                                                                    ..............................................................                                 
                                                                   :                                                 :                                 
                                                                   :                                                 :                                 
                                                                   :                                                 :                                 
                                                                   :            WINDOW  ONE            :                                 
                                                                   :                                                 :                                 
                                                                   :                                                 :                                 
                                                                   :..............................................................:          

...

Panel

                                      ..............................................................                                                                   
                                     :                                                 :                                                                   
                                     :            WINDOW TWO            : ....................................                                 
                                     :                                                 :                             :                                 
                                     :                                                 :                             :                                 
                                     :..............................................................:                             :                                 
                                                                   :            WINDOW  ONE            :                                 
                                                                   :                                                 :                                 
                                                                   :                                                 :                                 
                                                                   :..............................................................:            

...

Panel

                                      ..............................................................                                                                   
                                     :                                                 :                                                                   
                                     :            WINDOW TWO            :                  
                                     :                                                 :                             :                                 
                                     :                                                 :                             :                                 
                                     :..............................................................:                             :                                 
                                                                   :            WINDOW  ONE            :                                 
                                                                   :                                                 :                                 
                                                                   :                                                 :                                 
                                                                   :..............................................................:            

...

Panel

                                                                                   ..............................................................................
                                                                                   :                                                            :
                                           ................................................. :                                                            :
                                           :                                       :                                                            :
                                  ................................ :                                       :                                                            :
                                  :                          :               WINDOW        :                 WINDOW THREE                :
                 :      WINDOW    :          :      WINDOW    :                   TWO            :                                                            :
                 
                 :            ONE      :                                        :                                                           :
                 
                 :                         :                                        :                                                            :
                                  :.............................. :                                        :                                                            :
                                           :                                       :                                                            :
                                           :................................................ :                                                            :
                                                                                   :                                                            :
                                                                                   :............................................................................:   

Note however, that any one of the 3 windows can be redisplayed without causing the top or bottom border or any existing window to disappear. For example, redisplaying window 2 would cause a display like this:

Panel

                                                                                   .......................

No Format
                                        ...............

.............

                                            :                          :                            

................................

           :                            :                              :           :                 

..........

 :                              :           :                 :          :            WINDOW            :   WINDOW  :                 :  WINDOW  :              TWO             :   THREE   :                 :    ONE   :                              :           :                 :          :                              :           :                 :


                                                                                   :                                                            :
                                           ...........

 :                              :           :                            :                              :           :                            :

..............................

:           :                                            :                          :                                            :

..........................

:      

If window 1 was then redisplayed, the resulting display would look like this:

No Format
                                        

...........................

.                                            :                          :                            

                          :
                                           :                                                                         :                          :
                 ................................

           :                            :                              :           :                 ........................                  :           :                 :                      :      WINDOW      :   WINDOW  :                 :       WINDOW         :       TWO        :   THREE   :                 :        ONE           :                  :           :                 :                      :                  :           :                 :

:                                                                        :                           :
                 :                          :                        WINDOW                                :      WINDOW     :
                 :      WINDOW    :                             TWO                                   :      THREE          :
                 :            ONE      :                                                                         :                          :
                 :                         :                                                                         :                          :
                 :......................

:                  :           :                            :                              :           :                            :

........

......................:           :                                            :                          :                                            :..

:                                                                         :                          :
                                           :                                                                         :                          :
                                           :...........................

:   

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

Or, where an overlap occurs, no overlap of the top or bottom LEFT HAND CORNERS of the other window occurs. (e.g.: 4 overlaps 3, but does not overlap its top or bottom left hand corners).

No Format
            

...........................................

............  ..

........... :                          :
                                                                                   :                                                            :
                                                                                   :............................................................................:   

If window 1 was then redisplayed, the resulting display would look like this:

Panel

                                                                                   ..............................................................................
                                                                                   :                                                            :
                                           ..............................................................................................                          :
                                           :                                                                         :                          :
                 .....................................................................................                                :                           :
                 :                                                                 :          WINDOW       :      WINDOW     :
                 :                    WINDOW                             :             TWO            :      THREE          :
                 :                        ONE                                 :                                  :                          :
                 :                                                                 :                                 :                          :
                 :................................................................................. :                                 :                          :
                                           :                                                                         :                          :
                                           :........................................................................................... :                          :
                                                                                   :                                                            :
                                                                                   :............................................................................:   

Anchor
DSNB7_0050
DSNB7_0050
Technique 3

This technique merely involves combining techniques 1 and 2 together with a "plan" of the windows and testing each window against some simple rules.

Consider the following example for 4 windows.  Any of the windows can be redisplayed at any time without upsetting any other window.

Note how every window, but one, conforms to the following rules.

  • Is completely separate from (and therefore does not overlap) another window (e.g.: 4 is separate from 2).
  • Or, completely contains another window (e.g.: 1 completely contains 4).
  • Or, is completely contained within another windows (e.g.: 4 is completely contained within 1).
  • Or, where an overlap occurs, no overlap of the top or bottom LEFT HAND CORNERS of the other window occurs. (e.g.: 4 overlaps 3, but does not overlap its top or bottom left hand corners).

Panel

            .............................................................     ..............................................................  
            :                                               :     :    2                                          :  
            :         1       ............................................................................                       :  
            :                  :                                                           :                       :  
            :    ................................................                                    :                       :  
            :    :                                     :          3                       :                       :  
            :    :                                     :                                   :                       :  
            :    :                                     :                                   :                       :  
            :    :                4                   :                                   :                       :  
            :    :                                     :                                   :                       :  
            :    :                                     :                                   :                       :  
            :    :                                     :                                   :                       :  
            :    :...............................................:                                   :                       :  
            :                  :                                                           :                       :  
            :                  :..........................

                :                        :  :  2                       :                :     1     

...........................

.....           :                :           :                              :           :                :  

.....................

                     :           :                :  :                 :       3             :           :                :  :                 :                     :           :                :  :                 :                     :           :                :  :       4         :                     :           :                :  :                 :                     :           :                :  :                 :                     :           :                :  :                 :                     :           :                :  :

.:                       :  
            :                                               :     :                                                :  
            :.....................

:                     :           :                :           :                              :           :                :           :

.......................................:

           :                :                       :   :                          :                :

     :..................................

:   :

..........................:   

Note that window 1 does not conform to these rules. It overlaps the top and bottom left hand corners of window 3, and therefore could cause the top and bottom border areas of window 3 to "disappear".