透明的文字
系统结构:透明,BeginPath,EndPath,PathToRegion,GetWindowDC,SetWindowRgn,GetPixel,LineTo,MoveToEx,GetWindowRgn,
======窗口程序集1
| |
| |------ 透明
| |
| |------ _编辑框1_内容被改变
| |
| |------ _按钮2_被单击
| |
| |
======调用的Dll
| |
| |---[dll]------ BeginPath
| |
| |---[dll]------ EndPath
| |
| |---[dll]------ PathToRegion
| |
| |---[dll]------ GetWindowDC
| |
| |---[dll]------ SetWindowRgn
| |
| |---[dll]------ GetPixel
| |
| |---[dll]------ LineTo
| |
| |---[dll]------ MoveToEx
| |
| |---[dll]------ GetWindowRgn
调用的DLL命令:
.DLL命令 BeginPath, 整数型, , "BeginPath", , 启动一个路径分支
.参数 hdc, 整数型, , 欲在其中记录的设备场景
.DLL命令 EndPath, 整数型, , "EndPath", , 停止定义一个路径
.参数 hdc, 整数型, , 设备场景
.DLL命令 PathToRegion, 整数型, , "PathToRegion", , 将当前选定的路径转换到一个区域里,返回新区域的句柄
.参数 hdc, 整数型, , 包含了欲转换的路径的设备场景
.DLL命令 GetWindowDC, 整数型, , "GetWindowDC"
.参数 hWnd, 整数型
.DLL命令 SetWindowRgn, 整数型, , "SetWindowRgn", , 改变窗口的区域
.参数 hWnd, 整数型, , 将设置其区域的窗口句柄
.参数 hRgn, 整数型, , 将设置的区域的句柄
.参数 bRedraw, 逻辑型, , 若为TRUE,则立即重画窗口
.DLL命令 GetPixel, 整数型, , "GetPixel"
.参数 hdc, 整数型
.参数 x, 整数型
.参数 y, 整数型
.DLL命令 LineTo, 整数型, , "LineTo"
.参数 hdc, 整数型
.参数 x, 整数型
.参数 y, 整数型
.DLL命令 MoveToEx, 整数型, , "MoveToEx"
.参数 hdc, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 n, 整数型
.DLL命令 GetWindowRgn, 整数型, , "GetWindowRgn"
.参数 hWnd, 整数型
.参数 hRgn, 整数型, 传址
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。