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            :                                 
                                                                   :                                                 :                                 
                                                                   :                                                 :                                 
                                                                   :..............................................................:            

...

Anchor
DSNB7_0040
DSNB7_0040
Technique 1

Make sure that the windows do not overlap one another. They are either completely separate from one another, or completely replace one another.

...

Anchor
DSNB7_0045
DSNB7_0045
Technique 2

Another technique is to always use windows that only overlap each other on the left hand side. Additionally, no window overlaps the top or bottom border of a window on its right.

For example, a program might display windows 1, 2 and then 3. The final display might look like this:

Panel

                                                                                   

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

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

                                            :                          :                            

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

 :                          :                            :               :                          :                 

..........

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

..........

 :               :                          :                            :               :                          :                            :

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

 :                          :                                            :                          :                                            :....


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

:   

...

.

...

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 THREE                :
                 :      WINDOW    :                   TWO            :                                                            :
                 :            ONE      :                                        :                                                           :
                 :                         :                                        :                                                            :
                 :......................

:                  :           :                            :                              :           :                            :.

........

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

...

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.

...

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
            

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

  

.......

.....................                :                        :  :  2                       :                :     1     ................................           :                :           :                              :           :                :  

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

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

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

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                   :                                   :                       :  
            :    :                                     :                                   :                       :  
            :    :                                     :                                   :                       :  
            :    :                                     :                                   :                       :  
            :    :...............................................:                                   :                       :  
            :                  :                                                           :                       :  
            :                  :...........................................................................:                       :  
            :                                               :     :                                                :  
            :...........

                     :           :                :  :                 :       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".