Die Nähte bekommt man weg, wenn man während des neuzeichnens die GUI lockt. Und unter WindowsXP das DoubleBuffering einschalten, dann flackerts auch nicht:
Spoiler anzeigen
#include <StructureConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <WinAPI.au3>
Global $Fensterhoehe = 650
Global $Fensterbreite = 900
Global $Bildbreite = $Fensterbreite
#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\ISI\Eigene Dateien\AutoIT\ISMediaportal\main.kxf
Global Const $WS_EX_COMPOSITED = 0x2000000 ; Windows XP: Paints all descendants of a window in bottom-to-top painting order using double-buffering.
$hwnd = GUICreate("Moving Background", $Fensterbreite, $Fensterhoehe, 226, 158, Default, $WS_EX_COMPOSITED)
$backgroundimage1 = GUICtrlCreatePic(@WindowsDir & "\Angler.bmp", 0, 0, $Bildbreite, $Fensterhoehe, BitOR($WS_GROUP, $WS_CLIPSIBLINGS, $WS_EX_LAYERED))
$backgroundimage2 = GUICtrlCreatePic(@WindowsDir & "\Angler.bmp", -$Bildbreite, 0, $Bildbreite, $Fensterhoehe, BitOR($WS_GROUP, $WS_CLIPSIBLINGS, $WS_EX_LAYERED))
GUICtrlSetState(-1, $GUI_DISABLE)
$Button1 = GUICtrlCreateButton("Button1", 32, 232, 121, 33, 0)
GUICtrlSetState(-1, $GUI_ONTOP)
$Button2 = GUICtrlCreateButton("Button1", 113, 325, 121, 33, 0)
GUICtrlSetState(-1, $GUI_ONTOP)
$Button3 = GUICtrlCreateButton("Button1", 377, 185, 121, 33, 0)
GUICtrlSetState(-1, $GUI_ONTOP)
$Label1 = GUICtrlCreateLabel("Text..text..text", 48, 104, 71, 17)
GUICtrlSetState(-1, $GUI_ONTOP)
$Label2 = GUICtrlCreateLabel("Text..text..text", 58, 427, 119, 28)
GUICtrlSetState(-1, $GUI_ONTOP)
GUICtrlSetFont(-1, 15, 400, 0, "MS Sans Serif")
$Label3 = GUICtrlCreateLabel("Text..text..text", 235, 263, 119, 28)
GUICtrlSetState(-1, $GUI_ONTOP)
GUICtrlSetFont(-1, 15, 400, 0, "MS Sans Serif")
$Label4 = GUICtrlCreateLabel("Text..text..text", 433, 441, 119, 28)
GUICtrlSetState(-1, $GUI_ONTOP)
GUICtrlSetFont(-1, 15, 400, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$newX = 0
Do
$newX = $newX + 5
GUISetState(@SW_LOCK)
ControlMove($hwnd, "", $backgroundimage1, $newX, 0)
ControlMove($hwnd, "", $backgroundimage2, $newX - $Bildbreite, 0)
GUISetState(@SW_UNLOCK)
If $newX = $Fensterbreite Then $newX = 0
Sleep(20)
Until GUIGetMsg() = $GUI_EVENT_CLOSE