WBoard() - Define the screen area that windows appear in
Define the screen area that windows appear in
──────────────────────────────────────────────────────────────────────────────
Syntax
WBoard( [<nTop>, <nLeft>, <nBottom>, <nRight>] ) --> nError
Arguments
<nTop>, <nLeft> and <nBottom>, <nRight> are the top left and
bottom right coordinates used to define the area that windows may appear
in.
Returns
0 if successful.
-1 if not.
Description
WBoard() defines an area of the screen in which windows may appear.
Calls to create windows within an area outside of the area defined by
WBoard() will fail.
Examples
■ This example shows how to set a 2 character margin around the screen
that the windows will not be able to use
WBoard( 2, 2, MAXROW()-2, MAXCOL()-2 )
Files: Library is MRWINDOW.LIB.