Subj : Re: writing OOP, but with color To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Sun Oct 12 2003 09:50 pm EasyWin programs write to the screen in black on the default window background color. The only way to achieve color is to use the Windows functions for it but you would have to do it somehow in sync with the writing on the screen (and with when it has to repaint the screen). It's probably time to investigate writing a real Windows program and putting things on the screen yourself since EasyWin, the plain Ansi C/C++ program emulator, is not what you want. Either that or look at the source code for EasyWin and modify it to do what you want (select OEM fonts, add text color, textbackground, etc). Since you have Borland C++, if you have Win95 or better then you might also consider writing a Win32 console program instead (NOT a Win32S program). The functions textcolor, textbackground, cprintf, etc are available in Win32 console mode programs and the font should be more to your liking. I have posted a message titled "Console Mode Snapshot" in the borland.public.attachments group. The message body contains the C code for a simple Win32 console mode program. The attached file, ConsMode.gif, 39.007 bytes, contains a screen capture of the program's output. You will see the blob graphics characters that you were looking for and the colors you wanted. The only reason puttext is used to write the characters to the screen is because when they are writtine in the normal fashion, backspace, tab, carriage return and line feed move the cursor instead of showing their character representation in the font. .. Ed > Rob C wrote in message > news:3f89dc6f$1@newsgroups.borland.com... > > EasyWin > windows > > I can use color on the DOS platform, but I’m stuck because all > the color functions I’m familiar with (textcolor, > textbackgroundcolor, cprintf, etc.), are not available on the > windows platform, and OOP doesn't seem to work on other > platforms. Do you have any ideas? Are there other functions I’m > not aware of? If you tell me the generic code to write a color > function, I could write my own color-class. .