delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/04/06:35:27

From: "Graham Rounce" <graham AT rounce DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with textcolor and ScreenGetCursor?
Date: Tue, 4 Mar 2003 11:08:17 -0000
Lines: 24
Message-ID: <b422g0$k3h$1@newsg1.svr.pol.co.uk>
References: <b41s53$1al$1 AT newsg2 DOT svr DOT pol DOT co DOT uk> <b41ve6$sta$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: 217.134.72.137
X-Trace: newsg1.svr.pol.co.uk 1046777152 20593 217.134.72.137 (4 Mar 2003 11:25:52 GMT)
NNTP-Posting-Date: 4 Mar 2003 11:25:52 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Martin Stromberg" <eplmst AT lu DOT erisoft DOT se> wrote in message
news:b41ve6$sta$1 AT antares DOT lu DOT erisoft DOT se...
> Graham Rounce (graham AT rounce DOT freeserve DOT co DOT uk) wrote:
> : ....ScreenGetCursor seems to return y and y instead of x and y?

Ok, thanks....

I change it to.....

        main() {
                int x,y;

                ScreenSetCursor(5,11);
                ScreenGetCursor(&x,&y);

                printf("%d %d",x,y);
        }

.....and it's all fine.

Thanks



- Raw text -


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