文件名称:ColoredButton_demo
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:17.88kb
-
已下载:0次
-
提 供 者:
-
相关连接:无
-
下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
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
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