CustomButton
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
-
I have made a custom Button with text on the button. I want to change the color of button, color of the text on the button and the border color on the button . I have to use CColorDialog to select the desired color. Anyone know the way, how to do this?
Use the
OnCtlColor
[^] message handler. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]