If 0 is passed as the NumCols value, the subwindow runs from the Column to the right edge of its parent window. NumLines Indicates the number of horizontal lines in the subwindow's height. If 0 is passed as the NumLines parameter, then the subwindow runs from the Line to the bottom of its parent window. ParentWindow Specifies the subwindow's parent. Column Specifies the horizontal coordinate for the upper-left corner of the subwindow.
Line Specifies the vertical coordinate for the upper-left corner of the subwindow.
When the subwin subroutine is successful, it returns a pointer to the subwindow structure. ERR Indicates one or more of the parameters is invalid or there is insufficient storage available for the new structure. The touchwin , newwin , and wrefresh subroutines.