文件名称:NonRect
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:24.75kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
VC++非矩形窗体(四角为弧形)的代码实例,像一些音乐播放器的窗体、一些游戏的窗体等,除了把角变为弧形外,还有圆角、椭圆窗体和不规则窗体,我的实现过程是设置对话框的背景为 “TRANSPARENT”(透明),并在WM_CTLCOLORDLG消息处理器中创建一支“空笔”(NULL)来绘制对话框背景,然后用TransparenBlt将自己的位图放到对话框上。
-VC++ non-rectangular form (four corners of the arc) of the code examples, like some form music player, some games and other forms, in addition to angle into a curved, there are rounded corners, oval form and not Rules of the form, I realize the process is to set the dialog background " TRANSPARENT" (transparent), and the message processor WM_CTLCOLORDLG create a " space pen" (NULL) to draw the background of the dialog box, and then TransparenBlt itself the bitmap into the dialog box.
-VC++ non-rectangular form (four corners of the arc) of the code examples, like some form music player, some games and other forms, in addition to angle into a curved, there are rounded corners, oval form and not Rules of the form, I realize the process is to set the dialog background " TRANSPARENT" (transparent), and the message processor WM_CTLCOLORDLG create a " space pen" (NULL) to draw the background of the dialog box, and then TransparenBlt itself the bitmap into the dialog box.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
View.h
View.cpp
StdAfx.h
StdAfx.cpp
Resource.h
nonrect.rc
NonRect.mak
NonRect.h
NonRect.dsw
NonRect.dsp
NonRect.dep
NonRect.cpp
nonrect.aps
NonRect.001
makefile
MainFrm.h
MainFrm.cpp
Doc.h
Doc.cpp
RES/app.ico
RES/app.rc2
RES/Toolbar.bmp
RES
View.cpp
StdAfx.h
StdAfx.cpp
Resource.h
nonrect.rc
NonRect.mak
NonRect.h
NonRect.dsw
NonRect.dsp
NonRect.dep
NonRect.cpp
nonrect.aps
NonRect.001
makefile
MainFrm.h
MainFrm.cpp
Doc.h
Doc.cpp
RES/app.ico
RES/app.rc2
RES/Toolbar.bmp
RES
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.