Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_SetTextWindow Procedure
◄Summary► ◄Details► ◄Example► ◄Back►
Arguments
r1 Top row of current text window
c1 Leftmost column of current text window
r2 Bottom row of current text window
c2 Rightmost column of current text window
Description
The _SetTextWindow procedure specifies a window in which all text
output is displayed. Output from the _OutText and _OutMem
procedures appears only in this window.
Text is displayed from the current text position, which is relative
to the top left of the window. When text reaches the right edge of
the window, it either wraps or is truncated, depending on the wrap
state set by the _WrapOn function. When the text window is full,
the window scrolls up one line.
_SetTextWindow can be used in all video modes. After a new window
is set by _SetTextWindow, all text output goes to this new window.
Note: This function does not affect the output of the font text
routine _OutGText. Use the _SetViewport function to control the
display area for output fonts.
_GrStatus Returns
_GrParameterAltered