Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!tut.cis.ohio-state.edu!unmvax!nmtsun!wbnsnsr
From: wbnsnsr@nmtsun.nmt.edu (William Norris)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Turn on/off cursor?
Message-ID: <1567@nmtsun.nmt.edu>
Date: 2 Dec 88 08:04:10 GMT
References: <44479@yale-celray.yale.UUCP>
Reply-To: wbnsnsr@nmtsun.nmt.edu (William Norris)
Organization: New Mexico Tech, Socorro NM
Lines: 14

In article <44479@yale-celray.yale.UUCP> spolsky-joel@CS.Yale.EDU (Joel Spolsky) writes:
>How do you turn off the cursor and turn it on again? I need a method
>that works well for all video types and I would like to be able to
>restore the cursor to its original shape when the program exits.

In (Microsoft) C, try:

	_displaycursor( _GCURSOROFF | _GCURSORON )


-- 
wbnsnsr@nmtsun.nmt.edu                             |    /// Seulement
William B. Norris IV                               |\\ ///  l'Amiga peut 
POB #2185 C/S                                      | \\//   vous l'offrir.
Socorro, NM  87801                                 |=-=-=-=-=-=-=-=-=-=-=-=-=