#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>
Local $nCh1, $nCh2, $nCh3, $nCh4, $nCh5, $nCh6, $msg
GUICreate("My GUI Checkbox")
$nCh1 = GUICtrlCreateCheckbox("Checkbox 1", 10, 10, 120, 20)
$nCh2 = GUICtrlCreateCheckbox("Этот Checkbox имеет три состояния", 10, 30, -1, 20, $BS_AUTO3STATE)
GUICtrlSetState ( $nCh2, $GUI_INDETERMINATE )
GUICtrlCreateLabel('Checkbox в виде кнопок', 10, 85, -1, 17)
$nCh3 = GUICtrlCreateCheckbox("-", 10, 105, 40, 40, $BS_PUSHLIKE + $BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 48, 1)
$nCh4 = GUICtrlCreateCheckbox("-", 60, 115, 24, 24, $BS_PUSHLIKE + $BS_ICON)
GUICtrlSetImage(-1, "shell32.dll", 24, 0)
$nCh5 = GUICtrlCreateCheckbox("-", 10, 155, 40, 40, $BS_PUSHLIKE + $BS_ICON + $BS_AUTO3STATE)
GUICtrlSetImage(-1, "shell32.dll", 7, 1)
$nCh6 = GUICtrlCreateCheckbox("-", 10, 200, 160, 160, $BS_PUSHLIKE + $BS_BITMAP)
GUICtrlSetImage(-1, "oemlogo.bmp")
GUISetState()
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd