易语言隐藏游戏窗口源码
系统结构:子程序1,SetCapture,ReleaseCapture,WindowFromPoint,GetWindowText,GetWindowRect,SetWindowPos,创建快照,EnumWindows,
======窗口程序集1
| |
| |------ _图片框1_鼠标左键被按下
| |
| |------ _图片框1_鼠标左键被放开
| |
| |------ __启动窗口_创建完毕
| |
| |------ _图片框1_鼠标位置被移动
| |
| |------ 子程序1
| |
| |------ _标签1_反馈事件
| |
| |------ _按钮1_被单击
| |
| |------ _按钮2_被单击
| |
| |------ _按钮3_被单击
| |
| |------ __启动窗口_将被销毁
| |
| |
======调用的Dll
| |
| |---[dll]------ SetCapture
| |
| |---[dll]------ ReleaseCapture
| |
| |---[dll]------ WindowFromPoint
| |
| |---[dll]------ GetWindowText
| |
| |---[dll]------ GetWindowRect
| |
| |---[dll]------ SetWindowPos
| |
| |---[dll]------ 创建快照
| |
| |---[dll]------ EnumWindows
调用的DLL命令:
.DLL命令 SetCapture, 整数型, , "SetCapture", , 捕获鼠标
.参数 hwnd, 整数型
.DLL命令 ReleaseCapture, 整数型, , , , 为当前的应用程序释放鼠标捕获
.DLL命令 WindowFromPoint, 整数型, , "WindowFromPoint", , 取鼠标当前位置句柄
.参数 xPoint, 整数型
.参数 yPoint, 整数型
.DLL命令 GetWindowText, 整数型, "user32", "GetWindowTextA"
.参数 hwnd, 整数型
.参数 lpString, 文本型
.参数 cch, 整数型
.DLL命令 GetWindowRect, 整数型, "user32", "GetWindowRect"
.参数 hwnd, 整数型
.参数 lpRect, RECT, 传址
.DLL命令 SetWindowPos, 整数型, "user32", "SetWindowPos"
.参数 hwnd, 整数型
.参数 hWndInsertAfter, 整数型
.参数 x, 整数型
.参数 y, 整数型
.参数 cx, 整数型
.参数 cy, 整数型
.参数 wFlags, 整数型
.DLL命令 创建快照, 整数型, , "CreateToolhelp32Snapshot"
.参数 falg, 整数型
.参数 id, 整数型
.DLL命令 EnumWindows, 整数型, "user32"
.参数 lpEnumFunc, 整数型
.参数 lParam, 整数型
注:本站源码主要来源于网络收集。如有侵犯您的利益,请联系我们,我们将及时删除!
部分源码可能含有危险代码,(如关机、格式化磁盘等),请看清代码在运行。
由此产生的一切后果本站均不负责。源码仅用于学习使用,如需运用到商业场景请咨询原作者。
使用本站源码开发的产品均与本站无任何关系,请大家遵守国家相关法律。