9922250 发表于 2012-5-4 12:05:25

DllCall 代表鼠标左键 移动 按下 弹起.会的看一下。

DllCall("User32.dll", "int", "PostMessage", "hwnd", WinGetHandle("333.txt - 记事本"), "int", 0x200, "int", 0, "long", BitOR(29 * 0x10000, BitAND(23, 0xFFFF)))
DllCall("User32.dll", "int", "PostMessage", "hwnd", WinGetHandle("333.txt - 记事本"), "int", 0x201, "int", 1, "long", BitOR(29 * 0x10000, BitAND(23, 0xFFFF)))
DllCall("User32.dll", "int", "PostMessage", "hwnd", WinGetHandle("333.txt - 记事本"), "int", 0x202, "int", 0, "long", BitOR(29 * 0x10000, BitAND(23, 0xFFFF)))
                我想点击 记事本上面的(文件)2个字.

请不要回复用别的方法。我是想学习 DLLCALL我见过一个朋友这样做过一个后台点击.

9922250 发表于 2012-5-4 12:23:41

原来是窗口标题错误了。。。。

9922250 发表于 2012-5-4 12:23:48

其实上面代码是正确的
页: [1]
查看完整版本: DllCall 代表鼠标左键 移动 按下 弹起.会的看一下。