Titel sagt glaub ich alles
Scrpit ist aus der Hilfe
hab die gössen geändert damit es besser sichtbaar ist=) und den Bild Pfad ausgeschrieben
GUICtrlSetImage hab ich rein gemacht tut aber nix Bild ist ja schon geladen=(
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Global $gui, $guiPos, $pic, $picPos
[/autoit][autoit][/autoit][autoit]Example1()
[/autoit][autoit][/autoit][autoit];----- example 1 ----
Func Example1()
Local $n, $msg
GUICreate("My GUI picture", 350, 300, -1, -1, $WS_SIZEBOX + $WS_SYSMENU) ; will create a dialog box that when displayed is centered
[/autoit][autoit][/autoit][autoit]GUISetBkColor(0xE0FFFF)
$n = GUICtrlCreatePic("C:\Programme\AutoIt3\Examples\GUI\mslogo.jpg", 50, 50, 100, 12)
GUISetState()
[/autoit][autoit][/autoit][autoit]; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
; resize the control
$n = GUICtrlSetPos($n, 50, 50, 255, 40)
GUICtrlSetImage($n, "C:\Programme\AutoIt3\Examples\GUI\mslogo.jpg") ; keine Funktion
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
GUIDelete()
EndFunc ;==>Example1