I've seen some of these threads that say to use SetTextColor on changing the color of a static, but I have had no luck. It stays the same color no matter what I do. Some help on this matter would be greatly appreciative. Here is what I have so far.
error = SetTextColor((m_s_accserver.GetDC())->m_hDC, COLORREF(0x00FF0000));
Now, to me, this seems like it should work. I recall having to call somesort of CWin.UpdateWindow() or CWin.RedrawWindow() function to get one of my windows to display right. But this was a long time ago and I don't remember. What else do I need to do to get the static control to change color? Thanks for ya'lls help!
Niky Williams
NTS Marketing, Inc
error = SetTextColor((m_s_accserver.GetDC())->m_hDC, COLORREF(0x00FF0000));
Now, to me, this seems like it should work. I recall having to call somesort of CWin.UpdateWindow() or CWin.RedrawWindow() function to get one of my windows to display right. But this was a long time ago and I don't remember. What else do I need to do to get the static control to change color? Thanks for ya'lls help!
Niky Williams
NTS Marketing, Inc