Hi, I have a class called WinConsole which contains several methods including a SetColor and a CreateConsole function. I've noticed that when I call SetColor after CreateConsole and more precisely after the following lines:
that are within the CreateConsole function, the color doesn't change at all but if I place the call to SetColor before those lines it changes.
The things I've tried so far are debugging, see if the function fails and read briefly through the MSDN documentation to find something.
The code used for SetColor is this:
I may have stumbled on a fix. I had a similar problem. I couldn't change the font color anywhere in a document. I highlighted a word I wanted to change, then when the minitoolbar appeared, I clicked the arrow/triangle next to the font color icon, and selected a color from the the palette of standard colors on the expanded menu. Voila! The color changed and after that I could change anything in the document using the usual methods - clicking on the font color change icon. http://www.traininginchennai.co.in/aws-training-in-chennai/