halllo liebe autoit freude,
also ich wollte so was wie eine einstellung in ein programm einbauen in der man das hintergrund bild selber besimmen kann: also ein menu "einstellung" und dann kommt da ein button
mit "hingrundbild setzen" und welches bild man auswählt das bild ist dann das hintergrund bild...
mein versuch bis jetzt:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
FileInstall("house2.jpg", @TempDir&"\house2.jpg")
$Form1 = GUICreate("Form1", 608, 428, 192, 124)
$Pic1 = GUICtrlCreatePic(@TempDir&"\house2.jpg", 0, 0, 628, 444, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$menu = GUICtrlCreateMenu("Datei")
$menuitm = GUICtrlCreateMenuItem("Einstellungen", $menu)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $menuitm
$einstellung = GUICreate("einstellung", 608, 428, 192, 124)
$einstellungbutton = GUICtrlCreateButton("Hintergrundbild Setzen", 100,100,200,100)
gUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
GUIDelete($einstellung)
ExitLoop
case $einstellungbutton
; ab hier weiß ich nicht mehr...
EndSwitch
WEnd
EndSwitch
WEnd