文件名称:Translucent-dialog-box
- 所属分类:
- 对话框与窗口
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3.44mb
- 下载次数:
- 0次
- 提 供 者:
- wang****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
半透明对话框的实现
① 创建一个与当前显示设备环境相兼容的位图对象
② 创建一个与当前显示设备环境相兼容的内存设备环境
③ 将位图对象选入到内存设备环境中
④ 调用 BitBlt( ) 函数将显示设备环境中的图像拷贝到内存设备环境中来
⑤ 对内存设备环境中的位图进行逐点亮度处理
⑥ 在 OnPaint( ) 函数中将已处理的位图通过 BitBlt( ) 函数拷贝回显示设备环境
⑦ 删除掉选入到内存设备环境中的位图对象以及设备环境对象
-① translucent dialog to achieve with the current display device to create a compatible environment to create a bitmap object ② environment with the current display device compatible memory device context ③ Select the bitmap object into the memory device context ④ call BitBlt ( ) function will display the images copied to the environment in the memory device context to ⑤ of the memory device context bitmap-by-point brightness processing ⑥ in the OnPaint () function will be processed by the bitmap BitBlt () function to copy back ⑦ removed the display device selected into the environment to the memory device context bitmap device context object and the object
① 创建一个与当前显示设备环境相兼容的位图对象
② 创建一个与当前显示设备环境相兼容的内存设备环境
③ 将位图对象选入到内存设备环境中
④ 调用 BitBlt( ) 函数将显示设备环境中的图像拷贝到内存设备环境中来
⑤ 对内存设备环境中的位图进行逐点亮度处理
⑥ 在 OnPaint( ) 函数中将已处理的位图通过 BitBlt( ) 函数拷贝回显示设备环境
⑦ 删除掉选入到内存设备环境中的位图对象以及设备环境对象
-① translucent dialog to achieve with the current display device to create a compatible environment to create a bitmap object ② environment with the current display device compatible memory device context ③ Select the bitmap object into the memory device context ④ call BitBlt ( ) function will display the images copied to the environment in the memory device context to ⑤ of the memory device context bitmap-by-point brightness processing ⑥ in the OnPaint () function will be processed by the bitmap BitBlt () function to copy back ⑦ removed the display device selected into the environment to the memory device context bitmap device context object and the object
(系统自动生成,下载前可以参看下载内容)
下载文件列表
半透明对话框\ReadMe.txt
............\Resource.h
............\StdAfx.cpp
............\StdAfx.h
............\TransparetDlg.aps
............\TransparetDlg.clw
............\TransparetDlg.cpp
............\TransparetDlg.dsp
............\TransparetDlg.dsw
............\TransparetDlg.h
............\TransparetDlg.ncb
............\TransparetDlg.opt
............\TransparetDlg.plg
............\TransparetDlg.rc
............\TransparetDlgDlg.cpp
............\TransparetDlgDlg.h
............\Visual C++.jpg
............\效果图\效果图.bmp
............\res\TransparetDlg.ico
............\...\TransparetDlg.rc2
............\Debug\StdAfx.obj
............\.....\StdAfx.sbr
............\.....\TransparetDlg.bsc
............\.....\TransparetDlg.exe
............\.....\TransparetDlg.ilk
............\.....\TransparetDlg.obj
............\.....\TransparetDlg.pch
............\.....\TransparetDlg.pdb
............\.....\TransparetDlg.res
............\.....\TransparetDlg.sbr
............\.....\TransparetDlgDlg.obj
............\.....\TransparetDlgDlg.sbr
............\.....\vc60.idb
............\.....\vc60.pdb
............\效果图
............\res
............\Debug
半透明对话框
............\Resource.h
............\StdAfx.cpp
............\StdAfx.h
............\TransparetDlg.aps
............\TransparetDlg.clw
............\TransparetDlg.cpp
............\TransparetDlg.dsp
............\TransparetDlg.dsw
............\TransparetDlg.h
............\TransparetDlg.ncb
............\TransparetDlg.opt
............\TransparetDlg.plg
............\TransparetDlg.rc
............\TransparetDlgDlg.cpp
............\TransparetDlgDlg.h
............\Visual C++.jpg
............\效果图\效果图.bmp
............\res\TransparetDlg.ico
............\...\TransparetDlg.rc2
............\Debug\StdAfx.obj
............\.....\StdAfx.sbr
............\.....\TransparetDlg.bsc
............\.....\TransparetDlg.exe
............\.....\TransparetDlg.ilk
............\.....\TransparetDlg.obj
............\.....\TransparetDlg.pch
............\.....\TransparetDlg.pdb
............\.....\TransparetDlg.res
............\.....\TransparetDlg.sbr
............\.....\TransparetDlgDlg.obj
............\.....\TransparetDlgDlg.sbr
............\.....\vc60.idb
............\.....\vc60.pdb
............\效果图
............\res
............\Debug
半透明对话框