hi habe kleines problem und zwar versuch ich den "Text" von GUICtrlCreateLabel im Vordergrund zu bekommen
aber irgendwie klappt nix
[autoit]#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Form2", 413, 56, 303, 219)
DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)
$Progress1 = GUICtrlCreateProgress(3, 3, 406, 49, $PBS_SMOOTH)
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlSetBkColor(-1, 0x00FF00)
DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 7)
$progress_in = GUICtrlCreateLabel("Text",200, 23, 84, 17 ,$GUI_ONTOP,$GUI_ONTOP)
GuiCtrlSetState($progress_in,$GUI_ONTOP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Status = "Plus"
While 1
$ProgressRead = GUICtrlRead($Progress1)
If $Status = "Plus" Then
GUICtrlSetData($Progress1, $ProgressRead + 1)
If $ProgressRead = 100 Then $Status = "Minus"
ElseIf $Status = "Minus" Then
GUICtrlSetData($Progress1, $ProgressRead - 1)
If $ProgressRead = 0 Then $Status = "Plus"
EndIf
Sleep (15)
$nMSG = GUIGetMsg()
Switch $nMSG
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd