文件名称:zuheforms
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2014-05-06
- 文件大小:
- 182kb
- 下载次数:
- 0次
- 提 供 者:
- cpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VB6.0源码下载:VB创建组合的圆形窗口,单击窗口则调用SetWindow子过程设置窗口形状,双击窗口则调用Reset子过程恢复窗口形状。圆形组合窗体的实现过程中将两个图形区域相加(叠加),也可将两个区域相减,或进行进行“或”操作,“异或”操作等。
Module1.bas中的SetWindow子过程实现设置窗口形状,创建最外面的大圆区域,创建中间的圆区域,创建最里层的小圆区域,用大圆减去中间的圆得到的区域保存在hSrcRgn1,用得到的区域加上小圆并保存在hSrcRgn1;
Reset子过程作用是恢复窗口形状为矩形-VB6.0 source code download: VB to create a combination of circular window, click the window is called SetWindow sub-process settings window shape, double-click the window procedure is called Reset to restore the child window shapes. Realized in the form of a circular process portfolio by adding two graphics area (overlay), the two regions can also be subtracted, or conduct "or" operation "exclusive or" operation.
SetWindow Module1.bas the settings window sub-process to achieve the shape to create the outermost region of the great circle, creating a circular region in the middle of creating the innermost region of the small circle, using the great circle minus the area of the intermediate obtained is stored in a circular hSrcRgn1, with small round area get together and stored in hSrcRgn1
Reset the role of sub-process is to restore the shape of a rectangular window
Module1.bas中的SetWindow子过程实现设置窗口形状,创建最外面的大圆区域,创建中间的圆区域,创建最里层的小圆区域,用大圆减去中间的圆得到的区域保存在hSrcRgn1,用得到的区域加上小圆并保存在hSrcRgn1;
Reset子过程作用是恢复窗口形状为矩形-VB6.0 source code download: VB to create a combination of circular window, click the window is called SetWindow sub-process settings window shape, double-click the window procedure is called Reset to restore the child window shapes. Realized in the form of a circular process portfolio by adding two graphics area (overlay), the two regions can also be subtracted, or conduct "or" operation "exclusive or" operation.
SetWindow Module1.bas the settings window sub-process to achieve the shape to create the outermost region of the great circle, creating a circular region in the middle of creating the innermost region of the small circle, using the great circle minus the area of the intermediate obtained is stored in a circular hSrcRgn1, with small round area get together and stored in hSrcRgn1
Reset the role of sub-process is to restore the shape of a rectangular window
(系统自动生成,下载前可以参看下载内容)
下载文件列表
组合圆形窗口\1.bmp
............\1.jpg
............\Form1.frm
............\Form1.frx
............\Module1.bas
............\Project1.vbp
............\Project1.vbw
组合圆形窗口