Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - wdrwhor http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WdrwHor

Draw a horizontal line.

Header File.....TCXLwin.h

Prototype.......IntT CTYP WdrwHor(BytT sr, BytT sc, BytT nc, BytT bt,
                     AtrT at);

Source File.....WIN\WDRWHOR.C

Arguments.......sr -  Start Row
                sc -  Start Columns
                nc -  Number of Columns
                bt -  Border Type (One of the following)
                  BOX_SNG..all single
                  BOX_DBL..all double
                  BOX_VER..horiz single, vert double
                  BOX_HOR..horiz double, vert single
                  BOX_HVY..heavy lines
                  BOX_SPA..spaces  no box
                at -  Attribute (See Appendix A)

Returns.........ERR_NUL  -  No Error
                ERR_ARG  -  Argument Failure
                   TcxlErr contains:
                   W_NOACTIVE  -  No Active Window
                   W_INVCOORD  -  Text Line Too Long For Window
                   W_INVBTYPE  -  Invalid Box Type

Notes..........."Draws" a horizontal text line in active window using
                characters defined by given box type.  If horizontal line
                crosses a vertical line, an appropriate intersection or
                corner will be used.

See Also: Appendix A

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson