HELPLIB.HLB  —  CRTL  box
    Draws a box around the window using the character vert as the
    character for drawing the vertical lines of the rectangle, and
    hor for drawing the horizontal lines of the rectangle.

    Format

      #include  <curses.h>

      int box  (WINDOW *win, char vert, char hor);

1  –  Arguments

 win

    The address of the window.

 vert

    The character for the vertical edges of the window.

 hor

    The character for the horizontal edges of the window.

2  –  Description

    The box function copies boxes drawn on subwindows onto the
    underlying window. Use caution when using functions such as
    overlay and overwrite with boxed subwindows. Such functions copy
    the box onto the underlying window.

3  –  Return Values

    OK                 Indicates success.
    ERR                Indicates an error.
Close Help