Transparent RichEdit control - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
CRichEditCtrlEx is derived from CRichEditCtrl and contains two methods for create the control.
The background of a rich control could be changed using SetBackgroundColor() method. When the display has 256 colors the RGB value from SetBackgroundColor() method is converted into an apropiate color from system palette. So I created a pattern brush with the desired RGB value with I filled the control in OnErasebkgnd() method.
透明的RichEdit 控件。CRichEditCtrlEx 派生于CRichEditCtrl ,包含两个方法来创建这一控件。
可以使用SetBackgroundColor() 方法来修改控件的背景色。当显示器使用256色时,SetBackgroundColor() 方法使用的RGB值被转换成系统设色板的相应颜色。所以我用需要的RGB值创建了一个模式刷,在OnErasebkgnd()方法中填充控件。
来源: http://www.codeguru.com/richedit/richtrans.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
richtrans |
 1.0  |
2004-04-18 |
下载 |
|
|