找回密码
 加入
搜索
查看: 3806|回复: 0

[系统综合] 消息队列的问题—在指定的窗口内无法实现效果,求助!!

[复制链接]
发表于 2013-8-2 14:38:16 | 显示全部楼层 |阅读模式
Local $user32 = DllOpen("user32.dll")
        DllCall($user32, "int", "PostMessage", "hwnd", $hWnd, "int", 0x200, "int", 0, "long", 547, 400)
        DllCall($user32, "int", "PostMessage", "hwnd", $hWnd, "int", 0x201, "int", 0, "long", 547, 400)
        DllCall($user32, "int", "PostMessage", "hwnd", $hWnd, "int", 0x202, "int", 0, "long", 547, 400)
         


ps:$hWnd = WinGetHandle("ETQW")//"ETQW"是一款古老的射击游戏窗口。


我把游戏窗口的句柄换成au3的窗口又可以实现鼠标点击,但是切换到游戏的窗口以后就无法移动鼠标
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-24 20:52 , Processed in 0.107862 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表