窗口半透明,控件不透明的实现

时间:2016-07-06 09:21:58
【文件属性】:
文件名称:窗口半透明,控件不透明的实现
文件大小:985KB
文件格式:ZIP
更新时间:2016-07-06 09:21:58
窗口半透明 控件不透明 该代码在VS2010的环境下开发完成,实现了按钮和静态文本框控件的不透明,和主窗口的半透明。实现的主要思想是由半透明对话框,和红色镂空对话框重叠实现的。用镂空对话框承载控件,背景对话框实现半透明。二者重叠起来既可以实现窗口半透明和控件不透明的效果。
【文件预览】:
transparentWindow
----Release()
--------transparentWindow.exe(1.68MB)
----transparentWindow.suo(18KB)
----transparentWindow()
--------stdafx.cpp(219B)
--------transparentWindow.h(678B)
--------res()
--------stdafx.h(2KB)
--------transparentWindow.vcxproj(6KB)
--------MainDialog.h(754B)
--------targetver.h(314B)
--------transparentWindow.aps(104KB)
--------transparentWindow.rc(12KB)
--------transparentWindow.vcxproj.user(143B)
--------transparentWindow.cpp(3KB)
--------transparentWindowDlg.h(967B)
--------resource.h(2KB)
--------transparentWindowDlg.cpp(6KB)
--------transparentWindow.vcxproj.filters(2KB)
--------MainDialog.cpp(2KB)
--------ReadMe.txt(5KB)
----transparentWindow.sln(918B)

网友评论

  • MFC半透明背景及控件自绘
  • 我要做的刚好相反,窗口不透明,控件透明,不过可以参考一下,谢谢!
  • 那个晕呀,是控件透明,窗口不透明吧。。。。。
  • 虽然我没用上,但这代码还是可以参考的
  • C++代码,我想下载C#的代码,没有看清楚。呵呵。