Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!peregrine!ccicpg!cci632!rit!pga-grd From: pga-grd@cs.rit.edu Newsgroups: comp.lang.c Subject: Re: Turbo C graphics library Summary: visible cursor in graphics window Keywords: Turbo C/MSC Message-ID: <1669@cs.rit.edu> Date: 8 Apr 90 19:51:03 GMT References: <35769@cci632.UUCP> Sender: news@cs.rit.edu Reply-To: pga-grd@paris.UUCP (Jack D. Unrue) Followup-To: comp.lang.c Distribution: na Organization: Rochester Institute of Technology, Rochester, NY Lines: 29 In article <35769@cci632.UUCP> tre@cci632.UUCP (Todd Engle) writes: > > Dear Turbo C wizards: > > I would like to find out if one can have a visible cursor in a >graphics window. The Turbo C manual states that the cursor is >invisible at the 'CP' (Current Position?) in graphics mode, but I could not find where to 'manually' turn it on. I would like to make a user aware >of his/her screen location (i.e for prompting). I don't have my Turbo C manual handy since I'm sitting in the middle of a UNIX lab right now, but I have a suggestion. There is a library function that allows you to place an arbitrarily-sized image on the screen. You could then write code that displays a cursor-sized block of pixels at the CP. Sorry that I couldn't be more specific about this function, but if you spend a few moments looking through the manual, I think you'll find what I'm talking about. >Also, is it possible to have reverse video in graphics mode in Turbo C? I know >that is it is possible in text mode, but I have been unable to find an answer >for graphics. > This might require some extra effort, since one way to do it is to display your own bit-mapped characters. In that way, you could control reverse video in a straightforward manner. [-----------------------------------------------------------------------------] [ Jack D. Unrue | "Alert is alive and alive is alert..." ] [ ultb::"jdu4855@cs.rit.edu" | - a thief's credo in Sanctuary ] [-----------------------------------------------------------------------------]