消息队列的问题—在指定的窗口内无法实现效果,求助!!
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的窗口又可以实现鼠标点击,但是切换到游戏的窗口以后就无法移动鼠标
页:
[1]