Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>wselect()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WSELECT()

Syntax:     WSELECT() ([<expN>])

Arguments:  <expN> corresponds to the number of the window to be
            selected.  Without the argument the function will return the
            number of the selected window.

Returns:    A numeric value.
            Corresponds to the number of the selected window.

Usage:      This function can be used to re-activate a window that is
            already open, but inactive.  The numbers from 1 to 255 can
            then be used.  Window number 0 is a special case; this
            stands for the normal screen, which can always be activated
            with the number 0 without having to close previous opened
            windows.  The number of the window just selected can be
            determined by leaving out the argument.

Note:       Many window functions such as WBOX(), WCENTER(),
            WFORMAT(), ect.  relate to the active window.  The function
            will return the error code -1 in the event of an invalid (e.g.,
            negative) window number and the selected window will
            remain active (no change).

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   window_no = 5
            WSELECT(window_no)


            This selects window 5, provided that it had
            previously been opened via WOPEN().



See Also: WOPEN()

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