home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_02_01 / 2n01075a < prev    next >
Text File  |  1990-11-28  |  520b  |  24 lines

  1.  
  2.  
  3. void ScrCursorHide(void)
  4.      {
  5.         if (CursorHidden) return;
  6.  
  7.         /* save the current cursor position */
  8.  
  9.         regs.h.ah = 3;
  10.         regs.h.bh = VideoPage;  /* VideoPage is a char variable '/
  11.         int86(0xlO, ®s, ®s);
  12.         CursorPos = regs.x.dx;
  13.  
  14.         /* make cursor disappear */
  15.  
  16.         regs.h.ah = 3;
  17.         regs.h.bh = VideoPage;
  18.         regs.x.dx = Oxl900;    /* postion (x,y) = (0, 25) */
  19.         int86(0xlO, ®s, ®s);
  20.  
  21.         CursorHidden = l;
  22.       }
  23.  
  24.