delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/12/15:45:14

From: "Simon Krell" <krell-s AT foni DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dos color ?
Date: Mon, 12 Jun 2000 21:28:37 +0200
Organization: Posted via KomTel, http://www.komtel.net
Lines: 26
Message-ID: <8i3dld$sd4$1@olaf.komtel.net>
References: <kra15.6974$iy DOT 531598 AT bgtnsc06-news DOT ops DOT worldnet DOT att DOT net>
NNTP-Posting-Host: 25.132.fl1.ip.foni.net
X-Trace: olaf.komtel.net 960838125 29092 212.7.132.25 (12 Jun 2000 19:28:45 GMT)
X-Complaints-To: abuse AT komtel DOT net
NNTP-Posting-Date: 12 Jun 2000 19:28:45 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

smile773 schrieb in Nachricht ...
>Could one of you nice persons please share some code
>so that I can change the dos console to blue with white
>letters ?
>
>Could I also change the color of this filename to green
>if it begins with utility for example.
>
>Utility_dos_directory_long_file_names_ver102=lfndos.exe
>
>
>
>

You can change the Colors with the Functions

backgroundcolor(BLUE);
textcolor(WHITE);

and then print it with CPRINTF, like PRINTF but uses the Attributes.


Go get Rhide... :-))))


- Raw text -


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