it does, but i found a better solution
#Include <GuiConstantsEx.au3>
$hGUI = GUICreate("",110,100)
GUICtrlCreateGraphic(0,0,200,200)
GUICtrlSetBkColor(-1,0xFF11EE)
GUICtrlSetState(-1,$GUI_DISABLE)
$check = GUICtrlCreatecheckbox ( " checkbox " , 20 , 20 )
GUICheckBoxSetColor ($check, 0x000000 , $GUI_BKCOLOR_TRANSPARENT )
GUISetState ( )
While 1
$nMsg = GUIGetMsg ( )
Switch $nMsg
Case - 3
Exit
EndSwitch
WEnd
Func GUICheckBoxSetColor ( ByRef $nats, $iColor, $iBkColor= "0xF1EDED" )
$CtrlHWnd = $nats
If Not IsHWnd ( $CtrlHWnd) Then $CtrlHWnd = GUICtrlGetHandle ($nats)
$AParent = DllCall ( "user32.dll" , "hwnd" , "GetParent" , "hwnd" , $CtrlHWnd)
$aCPos = ControlGetPos ( $AParent[ 0 ] , "" , $nats)
$Soldt = GUICtrlRead ( $nats, 1 )
GUICtrlDelete ( $nats)
DllCall ( 'uxtheme.dll' , 'none' , 'SetThemeAppProperties' , 'int' , 0 )
$nats = GUICtrlCreatecheckbox ( $Soldt, $aCPos[ 0 ] , $aCPos[ 1 ] , $aCPos[ 2 ] , $aCPos[ 3 ] )
GUICtrlSetColor ( - 1 , $iColor)
GUICtrlSetBkColor ( - 1 , $iBkColor)
DllCall ( 'uxtheme.dll' , 'none' , 'SetThemeAppProperties' , 'int' , 7 )
EndFunc