Hallo,
ich wollte hier:
bei den Buttons ein kleines Bild einfügen als Button.
Kann mir jemand einen Code geben
ich wollte hier:
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GDIPlus.au3>
#include <Misc.au3>
#Include <_GDIPlus_Button.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Patcher by Zorua", 666, 348, 342, 193)
$Button1 = GUICtrlCreateButton("Homepage", 450, 10, 217, 41, 0, $BS_BITMAP)
$XButton_Location = @ScriptDir & "\Patcher\Inaktiv.png"
$Button2 = GUICtrlCreateButton("Registrieren", 450, 80, 217, 41, 0)
$Button3 = GUICtrlCreateButton("Itemshop", 450, 150, 217, 41, 0)
$Button4 = GUICtrlCreateButton ("Forum", 450,230,217,41 )
GUICtrlCreatePic(@ScriptDir & "\Patcher\Bild.jpg", 0, 0, 505, 393, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
If @Compiled Then FileInstall("C:\Users\Ich\Desktop\Patcher\Patcher\Bild.jpg", @ScriptDir & "\Patcher\Bild.jpg", 0)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Kann mir jemand einen Code geben