September 29th, 2003, 04:40 PM
static text color - what am I missing?
I've been trying to change the color of a static text now for sometime but have still been unsuccessful - I followed this example on msdn which compiles fine but my static text color still remains black:
(example is at the bottom)
I've initialized my solid brush to a blue and then copied their example into my dialog app - IDC_MYSTATIC static still remains black!
Thanks for your time - by the way, can anyone also tell me how to encapsulate a code chunk in these posts with the 'code' tags, I didn't see it in the how to post a question message.
September 29th, 2003, 09:45 PM
September 30th, 2003, 10:13 AM
Thanks mitakeet -
I also found what I was missing to get that text to take the color change - I needed to add:
to the message map. Then the rest of the sample code from msdn took effect.