in a windows console, how do i set the color of it ( background/text color) and the font????
Posted on 2002-07-05 14:29:59 by Qages
hi Qages,
i think you can change almost all...but i have tried to change the text color only (using SetConsoleTextAttribute function)
btw, i suggest to read this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/conchar_7mr7.asp

good luck,
ciao,
ZaiRoN
Posted on 2002-07-05 15:03:01 by ZaiRoN
ok i have my color the way i want it. but how do i change font????
Posted on 2002-07-05 19:17:16 by Qages
Can't change font in a console.
Posted on 2002-07-05 22:20:19 by comrade
the company i work for uses loads of consoles in there software and they have diffrent fonts.
Posted on 2002-07-06 11:14:27 by Qages
If you know how to access and change the properties of cmd.exe(win2k) then you can change the font but your limited to lucida console and terminal fonts. If you want to use other fonts, just create a window with a richedit control, black background ... and mimic the console commands ... then you will have what you wanted.


this calls for a nice small project!!! :)
Posted on 2002-07-06 12:04:01 by stryker
Is is an actual windows command console being used by your company's software or is it a terminal that looks like a command console. Depending on the emulation different "terminals" provide different levels of functionality when it comes to that.
Posted on 2002-07-06 18:26:39 by archimedes
its a windows console
Posted on 2002-07-06 18:49:39 by Qages
Why don't you simply ask them? :tongue:
Posted on 2002-07-06 19:02:46 by bazik
You might try CreateProcess. Also, I think but am not sure
there is a setting in the register for the default font
for use with a console.
Posted on 2002-07-06 23:50:50 by Roy Cline
I think i saw a console in a old tute some where with color text and backgound color if you set it. I am not sure but i will be looking one my machine and find out by tomorrow. If you don't hear from me by 7:00 pm i have not founded it yet... ( but i will still keep an eye out for them and send you what seems important )... That a Window dos type program that can run 16 and 32 bit code right... I got all kind of stuff that i never wanted while looking for Win tutes and code back in the day.
Posted on 2002-07-07 00:02:51 by cmax

Why don't you simply ask them? :tongue:

sorry but i dont know the people who made the software.
Posted on 2002-07-07 15:30:45 by Qages
I have seen different fonts in real DOS, but I very much doubt it is possible in Windows console.
Posted on 2002-07-07 18:47:19 by comrade