cvs.delorie.com/djgpp/bugs/show.cgi | search |
Using the conio routine _setcursortype(_NOCURSOR) to turn off the text cursor has no effect when the program is running in a window under Win 3.1. It works fine in full screen mode, but has no effect when the program is running in a window.
In conio.c, the _NOCURSOR flag causes the value 0x0700 to be passed to the BIOS set cursor routine. If this is replaced with 0x2000, the problem goes away. I have no idea why this is or if the problem is with djgpp or with Windows, but it works anyway :-)
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |