delorie.com/archives/browse.cgi | search |
From: | "Frederico Jerónimo" <DarkRealms AT netcabo DOT pt> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Make cursor invisible - C |
Date: | Tue, 28 Nov 2000 19:07:11 -0000 |
Lines: | 43 |
Message-ID: | <900vrb$3hu$1@venus.telepac.pt> |
References: | <8vub3m$vph$1 AT venus DOT telepac DOT pt> <900o1n$2n4$1 AT venus DOT telepac DOT pt> <900s5a$8m0$1 AT venus DOT telepac DOT pt> |
NNTP-Posting-Host: | 213.22.25.191 |
X-Trace: | venus.telepac.pt 975438507 3646 213.22.25.191 (28 Nov 2000 19:08:27 GMT) |
X-Complaints-To: | abuse AT mail DOT telepac DOT pt |
NNTP-Posting-Date: | 28 Nov 2000 19:08:27 GMT |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi, Even easier then :). Just do something like this : #include <conio.h> /* For text manipulation */ [...] _setcursortype(_NOCURSOR); /* Do your dirty work. We're invisible now :) */ _setcursortype(_NORMALCURSOR); /* Restore cursor */ [...] The _NOCURSOR and _NORMALCURSOR are Djgpp's inner defines. You also have the _SOLIDCURSOR option for setting the cursor as a solid block.See the info docs for more information. I hope this helps. ---------------------------------------------------------------------------- ------------------------------------------- Frederico Jerónimo DarkRealms AT netcabo DOT pt Dark Realms : http://mega.ist.utl.pt/~fjds/ Programming, graphics, medieval & fantasy info, texts & quotations, music... Paulo J. Matos aka PDestroy <pdestroy AT netcabo DOT pt> escreveu na mensagem news:900s5a$8m0$1 AT venus DOT telepac DOT pt... > I was asking about the keyboard cursor and not the mouse cursor. > > Thx anyway, > > Best regards, > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |