Hallo
Ich habe ein Prop. mit "GUICtrlSetImage" .
Was ist daran falsch?
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <ScreenCapture.au3>
#Region ### START Koda GUI section ### Form=c:\programme\autoit3\scite\koda\forms\grafigvorhanden.kxf
$Form1 = GUICreate("Form1", 147, 100, 100, 1, $WS_POPUP, 0)
$Pic1 = GUICtrlCreatePic("", 1, -1, 144, 40, BitOR($GUI_SS_DEFAULT_PIC,$SS_SUNKEN))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
_Bild() ;Start
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
;---------------
Func _Bild()
_ScreenCapture_Capture("C:\Test\test.png",20,20,100,50)
GUICtrlSetImage($Pic1,"C:\Test\test.png") ;<=== DA SOLLTE IN $Pic1 DIE BILD-DATEI " Test.png 2 ERSCHEINEN
EndFunc
Danke für eure hilfe
Silvermoon