Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>wselect()</b> http://www.X-Hacker.org [<<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()

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