Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetDialogFont (background)
#3
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)