xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

WSelect()

Returns and/or selects an open window as the current window.

Syntax

WSelect( [<nWindowID>] ) --> nCurrentWindow

Arguments

<nWindowID>
If a numeric window ID is passed, the corresponding window becomes current and all screen output is directed to the current window.

Return

The function returns the window ID of the current window as a numeric value.

Note:  the window ID zero identifies the entire screen. WSelect(0) selects the entire screen as the current window.

Info

See also:WOpen(), WStack()
Category: CT:Window , Windows (text mode)
Source:ct\ctwin.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe