您需要 登录 才可以下载或查看,没有账号?加入
举报
#include <GUIConstantsEx.au3> Opt('MustDeclareVars', 1) Example() Func Example() Local $checkCN, $Button_1, $msg GUICreate(" GUI ") $checkCN = GUICtrlCreateCheckbox("1", 10, 10, 120, 20) $Button_1 = GUICtrlCreateButton("button", 10, 30, 100) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_1 If GUICtrlRead($checkCN) = $GUI_CHECKED Then MsgBox(0, 0, "OK") EndIf EndSelect WEnd EndFunc ;==>Example
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2026-6-30 01:14 , Processed in 0.101423 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2026 Discuz! Team.