I have some static text on a window which is black, and I would like to change it at runtime using a Colour Chooser dialog. I have successfully obtained the colour, now I just n
You're on the right track with WM_CTLCOLORSTATIC. If you want to change the color, then invalidate the control (probably by using RedrawWindow). That will cause it to be repainted. When it's repainted, your WM_CTLCOLORSTATIC handler will be invoked again.