WSelect() - Activates one of the open windows
Activates one of the open windows
──────────────────────────────────────────────────────────────────────────────

Syntax

WSelect( [<nWindow>] ) --> nOldWindow

Arguments

<nWindow> the new window to select

Returns

WSelect() returns the old window number

Description

WSelect() allows you to make a different window the current window and
save the old window.

Notes

■ If an invalid window number is passed down, such as a negative window
number, WSelect() returns a -1

Examples

■ This example saves the current window and selects a new window:

nOldWin := WSelect( 27 )


Files: Library is MRWINDOW.LIB.