本帖最后由 水木子 于 2010-6-17 16:29 编辑 #include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
GUICreate('', 280, 250)
$Label1 = GUICtrlCreateLabel('', 50, 50, 100, 17)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 50, 50, 100, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 50, 100, 100, 17)
$Button1 = GUICtrlCreateButton("禁用复选框1", 50, 150, 80, 30, $WS_GROUP)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case - 3
Exit
Case $Button1
GUICtrlSetState($Checkbox1, $GUI_DISABLE)
GUICtrlSetTip($Label1, "非WinPE环境,无法使用GHOST32")
EndSwitch
WEnd
|