如何让复选框默认选中
如何在GUI 中启动窗口时就选中名为“第一个” 的复选框 位置是 20,10谢谢了! #include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 244, 304, 192, 114)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 32, 24, 97, 17)
GUICtrlSetState(-1, $GUI_CHECKED)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 32, 48, 97, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
GUICtrlSetState(-1, $GUI_CHECKED) 谢谢~~~~~~
页:
[1]