User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:gettextinfo

gettextinfo

void gettextinfo(struct text_info *r);

description of gettextinfo

Retrieves information from text-mode.

transfers the current text mode video information into the structure text_info pointed to by r.

available is wintop, winleft, winright, winbottom, attribute, normattr, currmode, screenheight, screenwidth, curx, cury

#include <conio.h>
 
int main(void)
{
    struct text_info information;
    gettextinfo(&information);
    clrscr();
    cprintf("window left      %2d\r\n",information.winleft);
    return 0;
}

output of gettextinfo c example

  window left       1
  
  c:\Borland>
advertising
c/conio.h/gettextinfo.txt · Last modified: 2013/02/09 17:41 by 158.181.88.241

Impressum Datenschutz