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

Select a text string within current window.

Header File.....TCXLsel.h

Prototype.......IntT CTYP SelTxt(BytT wr, BytT wc, AtrT at, ChrP as  ,
                     IntT ie);

Source File.....SEL\SELTXT.C

Arguments.......wr -  Window Row to start selection
                wc -  Window Column to start selection
                at -  Attribute for selection text (See Appendix A)
                as -  Base of array of string pointers
                ie -  Initial Element to default to

Returns.........The array subscript of the selected string.  If an error
                occurred, then -1 (ERR_ARG) will be returned and TcxlErr
                will be set to one of the following:
                   W_NOACTIVE  -  No Active Window
                   W_ESCPRESS  -  The  Esc  Key Was Pressed
                   W_STRLONG   -  Window Not Wide Enough To Hold Largest
                      String

Notes...........Allows user to select one string from an array of strings
                via an in-place "menu".  This function is the same as
                SelStr(), except that it puts the selection menu in the
                current active window, instead of creating a separate
                window for the selection.

Example.........SelTxt(5, 27, LMAGENTA|_MAGENTA, prn_ports, 0);

See Also: Appendix A

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