in a windows console, how do i set the color of it ( background/text color) and the font????
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
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
ok i have my color the way i want it. but how do i change font????
Can't change font in a console.
the company i work for uses loads of consoles in there software and they have diffrent fonts.
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!!! :)
this calls for a nice small project!!! :)
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.
its a windows console
Why don't you simply ask them? :tongue:
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.
there is a setting in the register for the default font
for use with a console.
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.
Why don't you simply ask them? :tongue:
sorry but i dont know the people who made the software.
I have seen different fonts in real DOS, but I very much doubt it is possible in Windows console.