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 - wopen http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Wopen

Open a window.

Header File.....TCXLwin.h

Prototype.......WndT CTYP Wopen(IntT sr, IntT sc, IntT er, IntT ec,
                     BytT bt, AtrT ba, AtrT wa);

Source File.....WCT\WOPEN.C

Arguments.......sr -  Start Row
                sc -  Start Column
                er -  End Row
                ec -  End Column
                bt -  Frame 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
                  BOX_EXP..explode frame on open
                ba -  Border Attribute (See Appendix A)
                wa -  Window Attribute (See Appendix A)

Returns.........The window handle of the new window, or:
                ERR_ARG  -  Argument Failure
                   TcxlErr contains:
                   W_INVCOORD - Invalid Coordinates
                   W_INVBTYPE - Invalid Border Type

Notes...........Opens a screen window and makes it active.  The cursor
                location will be initialized to window row 0, column 0.
                The text attribute (See Appendix A) will be initialized to
                the same attribute as the window.  You can open as many
                windows as memory permits.

See Also: Appendix A

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