cvs.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000034

When Created: 10/31/1995 18:16:10
Against DJGPP version: 2.00.beta3
By whom: slh100@tower.york.ac.uk
Abstract: _setcursortype(_NOCURSOR) doesn't work under Windows 3.1
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.

Solution added: 10/31/1995 18:18:56
By whom: slh100@tower.york.ac.uk
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 :-)

Fixed in version 2.00.beta4 on 11/12/1995 18:42:35
By whom: dj@delorie.com



  webmaster     delorie software   privacy  
  Copyright © 2010   by DJ Delorie     Updated Jul 2010