找回密码
 加入
搜索
查看: 1320|回复: 3

求助,怎样判断是否点了按钮

[复制链接]
发表于 2008-12-19 12:02:12 | 显示全部楼层 |阅读模式
发表于 2008-12-19 12:40:52 | 显示全部楼层
楼主要多看帮助啊

[au3]#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 454, 193, 125)
$Button1 = GUICtrlCreateButton("Button1", 200, 120, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
                Case $Button1
                        MsgBox(0, 0, "你点了按钮了")
        EndSwitch
WEnd[/au3]
 楼主| 发表于 2008-12-19 13:02:47 | 显示全部楼层
问题说的不太明确。
我是想做个外挂,需要判断宿主程序是否点了按钮。

谢谢 大绯狼
发表于 2008-12-19 13:10:36 | 显示全部楼层
那要看是什么类型的 宿主程序了 莫非是大型网游? 汗
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-23 09:36 , Processed in 0.078356 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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