VMS Help  —  CRTL  mvwin
    Moves the starting position of the window to the specified (y,x)
    coordinates.

    Format

      #include  <curses.h>

      mvwin  (WINDOW *win, int y, int x);

1  –  Arguments

 win

    A pointer to the window.

 y

    A window coordinate.

 x

    A window coordinate.

2  –  Description

    When moving subwindows, the mvwin function does not rewrite the
    contents of the subwindow on the underlying window at the new
    position. If you write anything to the subwindow after the move,
    the function also writes to the underlying window.

3  –  Return Values

    OK                 Indicates success.
    ERR                Indicates that moving the window put part or
                       all of the window off the edge of the terminal
                       screen. The terminal screen remains unaltered.
Close Help