script will read a reg key and if it found they key there then it will disable the checkbox.
can anyone tell me how to disable checkbox?
thanks.
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$GUI = GUICreate(\"Test\", 133, 105, 254, 220)
$C1 = GUICtrlCreateCheckbox(\"Choice 1\", 32, 16, 97, 17)
$C2 = GUICtrlCreateCheckbox(\"Choice 2\", 32, 41, 97, 15)
$B1 = GUICtrlCreateButton(\"Button1\", 24, 72, 75, 25, 0)
GUISetState(@SW_SHOW)
While 1
$Msg = GUIGetMsg()
Switch $Msg
Case $GUI_EVENT_CLOSE
Exit
Case $C1
GUICtrlRead($C1) =
; another code
EndSwitch
WEnd