[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
 WSELECT()
 Activates one of the open windows
------------------------------------------------------------------------------
 Syntax
     WSELECT([<nActivateWindow>]) --> nSelectedWindow
 Argument
     <nActivateWindow>  Designates the handle of the window that is
     selected.  Without this parameter, the function returns the handle of
     the currently selected window.
 Returns
     WSELECT() returns the handle of the current window.
 Description
     WSELECT() allows you to take an already open but inactive window and
     reactivate it.  You can specify numbers from 1 to 255.  Window 0
     corresponds to the physical screen.  By omitting the parameter you can
     determine the handle of the window currently selected.
 Notes
     .  Many window functions, like WBOX(), WCENTER(), and WFORMAT(),
        always relate to the active window.
     .  With an invalid (i.e. negative) window number, WSELECT()
        returns an error code of -1, and the currently selected window
        remains active (no change).
 Example
     Select nWindow, as long as it was previously opened by WOPEN():
     WSELECT(nWindow)
See Also:
WOPEN()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson