I'm such an idiot... so easy and i didn't see that... thanks. I improved it, if somebody needs it
#NoTrayIcon
#include <GUIConstants.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
Dim $iHGap = 5, $iVGap = 0, $iCount = 9, $iSize = 48, $iGap = 5, $icon[$iCount + 1], $oIcon[$iCount + 1]
$TestGUI = GUICreate("TestGUI", 300, 300, -1, -1, -1, $WS_EX_TOOLWINDOW)
GUICtrlCreateGroup("", $iHGap, $iVGap, Ceiling($iCount / 2) * $iSize + (2+(Ceiling($iCount/2)+1) * $iGap), 2 * $iSize + 3 * $iGap+8)
For $a = 0 To $iCount
$oIcon[$a] = 1
If $a < $iCount / 2 Then
$icon[$a] = GUICtrlCreatePic("", $iHGap+$iGap + ($a * $iSize) + ($a * $iGap)+1, $iVGap+2 * $iGap+2, $iSize, $iSize, $BS_BITMAP)
Else
$b = $a - Ceiling($iCount / 2)
$icon[$a] = GUICtrlCreatePic("", $iHGap+$iGap + ($b * $iSize) + ($b * $iGap)+1, $iVGap+3 * $iGap + $iSize+2, $iSize, $iSize, $BS_BITMAP)
EndIf
GUICtrlSetImage($icon[$a], @ScriptDir & "\icons\icon_" & $a & "b.bmp")
Next
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState()
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
Exit
EndSelect
$cursor = GUIGetCursorInfo()
If Not @error Then
For $a = 0 To $iCount
If $cursor[4] = $icon[$a] And $oIcon[$a] = 1 Then
$oIcon[$a] = 0
GUICtrlSetImage($icon[$a], @ScriptDir & "\icons\icon_" & $a & "a.bmp")
ElseIf $cursor[4] <> $icon[$a] And $oIcon[$a] = 0 Then
$oIcon[$a] = 1
GUICtrlSetImage($icon[$a], @ScriptDir & "\icons\icon_" & $a & "b.bmp")
EndIf
Next
EndIf
Sleep (1)
WEnd
Exit
Thank you martin