WClose() - Closes the active window
Closes the active window
──────────────────────────────────────────────────────────────────────────────
Syntax
WClose( [nWindow] ) --> nWindow
Arguments
<nWindow> is an optional parameter that may be used to close a
specific window
Returns
WClose() returns the number of the window that becomes active after
a window closes.
Description
WClose() may be used to close the active window, or with the optional
<nWindow> parameter a specific window may be closed.
Examples
■ This example closes the first 5 windows:
FOR nI := 1 to 5
WClose( nI )
NEXT
Files: Library is MRWINDOW.LIB.