Wie kann ich ein button auf ein bild packen?
Wenn man es einfach so drauf packt sieht er 4 eckig aus.
Sieht dan nicht mehr so schön aus.
Ich habe auch schon probiert es mit einem Bild-Button
zu machen.
Aber ich finde das blöd mit den bildern.
Ich war auch schon in google.
Aber da war auch immer nur die lösung mit einem bild.
Ich kapier das nicht so mit nem Bild.
Wie kann ich den Button auf dem Bild schön machen
Vielleicht weiß ja wer eine lösung bitte um
Test-Script:
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#region ### START Koda GUI section ### Form=
$GUI = GUICreate("123", 357, 261, 192, 124)
$Pic1 = GUICtrlCreatePic("Hintergrundbild.jpg", 0, 0, 356, 260, $GUI_DISABLE)
$Label1 = GUICtrlCreateLabel("Label1", 72, 48, 66, 28)
GUICtrlSetBkColor($Label1, $GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetBkColor(-1, -2)
GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("Button1", 72, 128, 75, 25)
GUISetState(@SW_SHOW)
#endregion ### END Koda GUI section ###
GUICtrlSetState($Button1, $GUI_FOCUS)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd






) benutzen. (Oder das Bild anpassen ^^)
