Hey@all
Mein Skript:
Spoiler anzeigen
local $txt,$width,$heigth,$left,$top,$bg,$menu
$txt="titel"
$width=500
$heigth=200
$left=5
$top=5
$bg="bg.jpg"
$menu="menu.jpg"
$HGui = GUICreate($txt,$width,$heigth,$left,$top,$WS_POPUP)
$heigth_menu=20
GUICtrlCreatePic($bg,0,0+$heigth_menu,$width,$heigth)
GUICtrlCreatePic($menu,0,0,$width,$heigth_menu,-1,$GUI_WS_EX_PARENTDRAG)
$width_action=25
$abstand=2
GUICtrlCreatePic("exit.jpg",$abstand,$abstand,$heigth_menu-2*$abstand,$heigth_menu-2*$abstand) ;icon
GUICtrlCreateLabel($txt,$heigth_menu+$abstand,$abstand,-1,$GUI_BKCOLOR_TRANSPARENT )
GUICtrlCreatePic("exit.jpg",$width-$width_action-$abstand,$abstand,$width_action,$heigth_menu-2*$abstand) ;close
GUICtrlCreateButton("Button 2", 0, 30, 150)
GUICtrlCreateButton("Button 3", 0, 60, 150)
GUICtrlCreateButton("Button 4", 0, 90, 150)
GUICtrlCreateButton("Exit", 0, 120, 150)
GUISetState(@SW_SHOW)
Der LabelHintergrund überschreibt leider das Bild.
Wie kann ich das ändern?
MfG AntiSpeed