TEXT_SetTextColor

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • TEXT_SetTextColor

    Hi,
    I am calling the "TEXT_SetTextColor" function under WM_PAINT message to modify the text colour after a particular condition is generated. I then use "TEXT_SetText" to modify the textbox data. The data is getting modified but the colour remains the same. Why is this so?
    Is it wrong to call the TEXT_SetTextColor function under WM_PAINT message?

    Thanks