按下按钮后如何使界面控件全部禁止!
本帖最后由 那片叶子 于 2009-9-19 16:05 编辑如何按下按钮后上面的复选项全部禁止不能点击,求示例!
-----------------------------------------------------------------------------
完毕,结了!
界面代码
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("测试", 217, 149, 397, 303)
$Checkbox1 = GUICtrlCreateCheckbox("测试", 8, 16, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("测试", 112, 16, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("测试", 8, 48, 97, 17)
$Checkbox4 = GUICtrlCreateCheckbox("测试", 112, 48, 97, 17)
$Checkbox5 = GUICtrlCreateCheckbox("测试", 8, 80, 97, 17)
$Checkbox6 = GUICtrlCreateCheckbox("测试", 112, 80, 97, 17)
$Button1 = GUICtrlCreateButton("测试", 128, 112, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd 怎么变成已解决了 怎么解决的 使用循环应该可以解决吧..
页:
[1]