
#include <GuiConstants.au3>

$gui_id1=GUICreate("", @DesktopWidth, @DesktopHeight, -1, -1) ; Maximal Windows ohne Rahmen
$Pic_1 = GuiCtrlCreatePic("bild1.jpg", 80, 40, 280, 170)
WinSetTrans($gui_id1 , "", 100) ; Win Semitrasparent


$gui_id2=GUICreate("", @DesktopWidth, @DesktopHeight, -1, -1) ; Maximal Windows ohne Rahmen
WinSetTrans($gui_id2 , "", 225) ; Win Semitrasparent

$Test = GUICtrlCreateButton("Test-Button",@DesktopWidth /2 - 50, @DesktopHeight/2, 80, 20)  ; Test-Button
$Beenden = GUICtrlCreateButton("Beenden", @DesktopWidth /2 -150, @DesktopHeight/2, 80, 20) ; Exit-Button

	
	
GUISetState( @SW_SHOW, $gui_id1 )
GUISetState( @SW_SHOW, $gui_id2 )

While 1
  $msg = GUIGetMsg()

  Select
	Case $msg = $Test
     MsgBox(0, "Test-Button", "Du hast auf TEST geklickt!")

   Case $msg = $Beenden
      ExitLoop
  EndSelect
WEnd 
Exit
