Gets the boundaries of the current text window.
#include <graph.h>
void __far _gettextwindow( short __far *r1, short __far *c1,
short __far *r2, short __far *c2 );
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 |
The _gettextwindow function finds the boundaries of the current text window. The text window is the region of the screen to which output from the _outtext and _outmem functions is limited. By default, this is the entire screen, unless it has been redefined by the _settextwindow function.
The window defined by _settextwindow has no effect on output from the _outgtext function. Text displayed with _outgtext is limited to the current viewport.
None.
Standards:None
16-Bit:DOS
32-Bit:None
_gettextposition, _outmem, _outtext, _scrolltextwindow, _settextposition, _settextwindow, _wrapon
See the example for _scrolltextwindow.