| www.delorie.com/djgpp/doc/libc-2.01/libc_350.html | search |
#include <conio.h> void gettextinfo(struct text_info *_r);
This function returns the parameters of the current window on the screen. The return structure is this:
struct text_info {
unsigned char winleft;
unsigned char wintop;
unsigned char winright;
unsigned char winbottom;
unsigned char attribute;
unsigned char normattr;
unsigned char currmode;
unsigned char screenheight;
unsigned char screenwidth;
unsigned char curx;
unsigned char cury;
};
The normattr field is the text attribute which was in effect
before the program started.
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |