is it a way to print the text with color in console such as DOS??
thanks for reply
Regards
sato
Printable View
is it a way to print the text with color in console such as DOS??
thanks for reply
Regards
sato
I haven't tried this but SetConsoleTextAttribute sounds like it does what you want.
Russ
i have to do it in VC++ ??
I don't understand what that means...Quote:
Originally posted by satoshi
i have to do it in VC++ ??
You don't want to do it in VC++?
It is not a console application, rather you want to make your own window similair to a color console (use SetTextColor(), etc)?
No. Those console functions are Windows API functions. You are using the Windows API, right? I would suspect so, since you asked the question in the "C++ and WinAPI" forum.Quote:
Originally posted by satoshi
i have to do it in VC++ ??
Practically any Windows-based C or C++ compiler can be used, including Visual C++, Borland, CodeWarrior, etc. You can even call those functions from Visual Basic or Delphi.
Regards,
Paul McKenzie
Yes, it has. And it is with SetConsoleTextAttribute as RussG1 wrote.Quote:
Satoshi: is it a way to print the text with color in console such as DOS??
I've done only a small message bar(in red) and status bar(blue or ... i don't remember) on the bottom of the console.
If you want I can give you some code or ..
if i can help you with something else???
Quote:
Originally posted by defiler_z
Yes, it has. And it is with SetConsoleTextAttribute as RussG1 wrote.
I've done only a small message bar(in red) and status bar(blue or ... i don't remember) on the bottom of the console.
If you want I can give you some code or ..
if i can help you with something else???
i better give a try 1st
thanks