MFC - change text color of a cstatic text control

Viewed 65986

How do you change the text color of a CStatic text control? Is there a simple way other that using the CDC::SetTextColor?

thanks...

6 Answers

I can't comment for some reason but I believe you cant return nullptr for a HBRUSH rather (HBRUSH)GetStockObject(NULL_BRUSH);

Related