Modify text color
-
- How to modify the color of the caption of a button(not including the background of the button)? - Regards, Maer
Two ideas: - handle
WM_CTLCOLORBTN
(MSDN: "By responding to this message, the parent window can set a button's text and background colors") - use ownerdraw buttons (seeBS_OWNERDRAW
) Paolo ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski) -
Two ideas: - handle
WM_CTLCOLORBTN
(MSDN: "By responding to this message, the parent window can set a button's text and background colors") - use ownerdraw buttons (seeBS_OWNERDRAW
) Paolo ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski) -
Two ideas: - handle
WM_CTLCOLORBTN
(MSDN: "By responding to this message, the parent window can set a button's text and background colors") - use ownerdraw buttons (seeBS_OWNERDRAW
) Paolo ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski)See this link:- http://support.microsoft.com/support/kb/articles/Q130/9/52.ASP WM_CTLCOLORBTN is not valid anymore.....
-
- Thanks, Paolo pal! - I have never used "WM_CTLCOLORBTN" before (even not heard it). Since I am a newbie, can you show me an example? - Have a nice weekend, Maer
See this link:- http://support.microsoft.com/support/kb/articles/Q130/9/52.ASP WM_CTLCOLORBTN is not valid anymore..... p.s. I first put this in the wrong thread... :-)
-
See this link:- http://support.microsoft.com/support/kb/articles/Q130/9/52.ASP WM_CTLCOLORBTN is not valid anymore.....
-
- Thanks for your URL, Nish pal! - I have never used the messages before, can you show me an example about the useage? - Have a nice weekend, Maer
- Sorry for interrupting again, Nish pal! - I still have a question. After reading the article you introduced to me, it seems that we can not use these messages now. Are there any other methods to change the color of the caption of the button? - Have a nice weekend, Maer
-
- Sorry for interrupting again, Nish pal! - I still have a question. After reading the article you introduced to me, it seems that we can not use these messages now. Are there any other methods to change the color of the caption of the button? - Have a nice weekend, Maer
see this link http://www.codeproject.com/buttonctrl/cbuttonst.asp Nish Sonork ID 100.9786 voidmain
-
see this link http://www.codeproject.com/buttonctrl/cbuttonst.asp Nish Sonork ID 100.9786 voidmain