|
|
MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSESsubwin |
|
The subwin routine is used to create a subwindow relative to the physical screen.
On success, a pointer to the new window structure is returned; otherwise, a null pointer is returned. The subwin() routine creates a subwindow within window orig, with the specified number of lines and columns, and upper left corner positioned at begin_x, begin_y (relative to the physical screen, not to window orig). A pointer to the new window structure is returned. The original window and subwindow share character storage of the overlapping area. (Each window maintains its own pointers, cursor location, and other items.) This means that characters and attributes are identical in overlapping areas regardless of which window characters are written to. When using subwindows, it is often necessary to call touchwin() before wrefresh() to maintain proper screen contents.
|
|