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 - wprtrj, wputrj http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Wprtrj, Wputrj

Display a string/attribute right-justified.

Header File.....TCXLwin.h

Prototype.......IntT CTYP Wprtrj(BytT wr, BytT wc, AtrT at, ChrP ps);
                IntT CTYP Wputrj(ChrP ps);

Source File.....WIN\WPRTRJ.C
                WIN\WPUTRJ.C

Arguments.......wr -  Window Row
                wc -  Window Column
                at -  Attribute (See Appendix A)
                ps -  String to Justify

Returns.........ERR_NUL  -  No Error
                ERR_ARG  -  Argument Failure
                   TcxlErr contains:
                   W_NOACTIVE  -  No Active Window
                   W_INVCOORD  -  Invalid Coordinates
                   W_STRLONG   -  String Could Not Fit In Window

Notes...........Right justifies a string in the active window.  Wprtrj()
                displays at the specified coordinates, using the specified
                attribute (See Appendix A);  control characters and escape
                sequences are NOT recognized; cursor position is NOT
                updated.  Wputrj() displays at the window's current text
                attribute; control characters and escape sequences (See
                Appendix C) are recognized; cursor position is updated.

See Also: Appendix A

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