HP 3000 Manuals

mvwin [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

mvwin 

The mvwin routine is used to move a window.

Syntax 

     #include <curses.h>

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

Parameters 

win                   A pointer to the window to move.

y                     The y (row) coordinate of the upper-left corner of
                      the window.

x                     is the x (column) coordinate of the upper-left
                      corner of the window.

Return Values 

OK                    Successful completion.

ERR                   An error occurred.  The move places part of or all
                      of window outside the screen boundary (or, in the
                      case of a subwindow, outside its parent window's
                      boundaries.)

Description 

The mvwin() routine moves the specified window (or subwindow), placing
its upper left corner at the positions specified by x and y.  The entire
window must fit within the physical boundaries of the screen, or an error
results.  A subwindow must fit within the boundaries of its parent
window.

Implementation Considerations 

Identical to XPG/3

See Also 

newwin(), subwin()

Portability 

HP-UX, UNIX System V, XPG/3



MPE/iX 5.0 Documentation