联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Transparent Edit Using a Pattern Backgro - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18992
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • Apache-SSL-Jserv
  • virtualdub-win
  • CppUnit
  • GLgraph
  • FCK editor
  • Async Professional
  • -= 更多 =-

    项目描述:
    In this article, to make an editor transparent, a NULL_BRUSH was created and returned from the OnCtlColor message handler. This idea was very simple, but when I tried to use it, I found that the blue rectangle of text selection remained in the background after the text was unselected.

    So, instead of creating a NULL_BRUSH, I created a pattern brush by using a chunk of bitmap from where the edit control is going to be shown.

    在这个项目中为了生成一个透明的编辑框,在 OnCtlColor 消息处理器中创建了一个 NULL_BRUSH 。其思想是很简单的,但当我试图使用它时,发现当文本取消选择时,蓝色的编辑框的矩形边界仍旧在背景中。
    所以我不是创建了一个 NULL_BRUSH,而是通过用编辑框所在区域的位图创建了一个模式刷。
    来源: http://www.codeguru.com/Cpp/controls/editctrl/backgroundcolor/article.php/c6857/
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    DrawingApp  1.0  2004-04-18 下载

    原始下载连接(国外) http://www.codeguru.com/dbfiles/get_file/DrawingApp.zip?id=6857&lbl=DRAWINGAPP_ZIP&ds=20040402

      » 合 作 伙 伴