Introduction - If you have any usage issues, please Google them yourself
A problem with push button controls is that you cannot change the default drawing colors. WM_CTLCOLOR does not work for push buttons. The only way to use other colors for a push buttons is to use an owner-draw button and do the drawing by yourself. By using CColorButton, you can: Change, at any time, any of the seven colors needed to draw a button Align the text at any position Use multi-line text Create buttons dynamically Change the default font of the text
Packet : 69491726coloredbutton_demo.zip filelist
res/
res/ColoredButton.rc2
res/ColoredButton.ico
ColoredButton.clw
ColorButton.cpp
ColoredButton.cpp
ColoredButtonDlg.cpp
StdAfx.cpp
ColoredButton.dsp
ColoredButton.dsw
ColorButton.h
ColoredButton.h
ColoredButtonDlg.h
Resource.h
StdAfx.h
ColoredButton.plg
ColoredButton.rc
ReadMe.txt