Library /sys$common/syshlp/TPUHELP.HLB  —  ADJUST_WINDOW
  ADJUST_WINDOW

     Changes the window size or screen location (or both).  ADJUST_WINDOW
     causes the "original_top" and "original_bottom" lines defined when the
     window is created to be permanently modified, making the changed line
     numbers the new "original" value of the window.  Part or all of the
     window may be redisplayed or scrolled so the current position at the
     time of the adjustment remains visible.  The window becomes the current
     window.  The buffer mapped to that window becomes the current buffer.

  Syntax

     ADJUST_WINDOW (window, integer1, integer2)

  Parameters

     window     The window whose size or location you want to change.  This
                becomes the current window.

     integer1   The signed (+|-) integer value to be added to the screen
                line number at the top of the window.

     integer2   The signed (+|-) integer value to be added to the screen
                line number at the bottom of the window.

  Example

     ADJUST_WINDOW (main_window, -5, +5);

     Enlarges the main window, adding 5 lines to the top of the window and 5
     lines to the bottom of the window.  If the screen line number at the
     top of the window is 11, this statement changes the screen line number
     to 6.  (If you use this statement when the top line of the window is
     number 1, you get a warning message, and the top of the window remains
     at screen line number 1.)
Close Help