hier mal ein beispiel aus meiner script sammlung!
Spoiler anzeigen
#Include <_Ani.au3>
#include <GUIConstantsEx.au3>
#include <GUIConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
;#include <WINAPI.au3>
#Region ### START Koda GUI section ###
$pic = @ScriptDir & "\TEMP\construction_animated.gif"
;--$Parent = GUICreate("", 280, 375,-1,-1, $WS_POPUP + $WS_EX_LAYERED +0x00800000);270,137
$Parent = GUICreate("", 320, 297,-1,-1, $WS_POPUP + $WS_EX_LAYERED +0x00800000);270,137
GUISetBkColor(0xFFFFFF) ; setzt hintergrundfarbe
$TRANSPARENCY = 0
WinSetTrans($Parent,"",$TRANSPARENCY)
GUISetState()
;--$pic2 = GUICtrlCreatePic($Scriptdir & "\" & $pic, 0, 0, 300, 350, BitOR(0x0100, $WS_GROUP, $WS_CLIPSIBLINGS))
$pic2 = GUICtrlCreatePic($pic, 0, 0, 320, 297, BitOR(0x0100, $WS_GROUP, $WS_CLIPSIBLINGS))
;DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 7)
;--$labelversion = GUICtrlCreateLabel("Version 1.2.0.9", 0, 346, 280, 14, 0x01)
$labelversion = GUICtrlCreateLabel("Version 1.2.1.2", 112, 260, 95, 14, 0x01)
GUICtrlSetFont($labelversion, 8, 80, 0, "Arial")
;GUICtrlSetColor($labelversion, 0xF76E12)
GUICtrlSetBkColor($labelversion, $GUI_BKCOLOR_TRANSPARENT)
$label = GUICtrlCreateLabel("... Programm wird vorbereitet ...", -2, 274, 320, 13, 0x01)
GUICtrlSetFont($label, 8, 80, 0, "Arial")
GUICtrlSetBkColor($label, $GUI_BKCOLOR_TRANSPARENT)
;GUICtrlSetBkColor($label, $GUI_BKCOLOR_TRANSPARENT)
;GUICtrlSetBkColor($label, 0x000000)
;_WinAPI_SetLayeredWindowAttributes($Parent, 0xFFFFFF) ;setzt transparente farbe, hier weiß
;animiere gif derzeit auskommentiert ...
;$gif = GUICtrlCreateGifEx($Parent, $pic, 0, 0);no width/height, always automatic. --> erstelle gif picture
;_Ani_SetAnimationSpeed(1, $gif)
GUISetState(@SW_SHOW)
[/autoit] [autoit][/autoit] [autoit]#EndRegion ### END Koda GUI section ###
[/autoit] [autoit][/autoit] [autoit]While 1
[/autoit] [autoit][/autoit] [autoit]WEnd
[/autoit]vielleicht nützt es dir was
gruß gmmg