05-15-2013, 02:37 PM
Great! Now let's say that I want to apply different brushes every second - Exemple:
I have a static box with red brush. Next second is green, next second is red again, and so on...
I can't get it to work =\
I tried on WM_CTLCOLORSTATIC to use "sel" with the seconds of the clock but can't make it work!
Can you help?
I still a lot of questions about dialogs so I'm going to ask on this topic but feel free to answer whenever you want.
Thanks again!
Edit: - Actually I saw examples in the forum of how can you change colors of some static elements but the problem is it's always triggered by a button, I would like to do it triggered by a timer.
I have a static box with red brush. Next second is green, next second is red again, and so on...
I can't get it to work =\
I tried on WM_CTLCOLORSTATIC to use "sel" with the seconds of the clock but can't make it work!
Can you help?
I still a lot of questions about dialogs so I'm going to ask on this topic but feel free to answer whenever you want.
Thanks again!
Edit: - Actually I saw examples in the forum of how can you change colors of some static elements but the problem is it's always triggered by a button, I would like to do it triggered by a timer.
