hi versuche gearde das sich die farbe ändert wne man mit der maus daraufährt geht aber leide rnicht hoffe ihr könnt mir helfen
Spoiler anzeigen
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$show = 0
[/autoit] [autoit][/autoit] [autoit]#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 623, 442, 192, 124)
GUISetCursor (2)
$Label1 = GUICtrlCreateLabel("Label1", 184, 160, 36, 17)
GUICtrlSetCursor (-1, 0)
$Label2 = GUICtrlCreateLabel("Label1", 184, 160, 36, 17)
GUICtrlSetColor(-1, 0x0000FF)
GUICtrlSetCursor (-1, 0)
GUICtrlSetState(-1, $GUI_HIDE)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Label1
MsgBox(0,"",$Label1)
EndSwitch
$d = GUIGetCursorInfo()
If $d[0] >= 160 And $d[0] <= 184 And $d[1] >=36 And $d[1] <=17 Then
If $show = 0 Then
GUICtrlSetState($Label2, $GUI_SHOW)
$show = 1
EndIf
Else
If $show = 1 Then
$show = 0
GUICtrlSetState($Label2, $GUI_HIDE)
EndIf
EndIf
WEnd