Hi,
Instead of the standard windows button, I would like to use this PNG button (so it would support transparency):
Is it possible to make the above PNG image clickable button, working as the standard one?
I've been looking on google & through the examples scripts but havent found anything.
Regards
#include <ButtonConstants.au3>
#include <GDIPlus.au3>
#include <GUIConstantsEx.au3>
#include <MsgBoxConstants.au3>
_GDIPlus_Startup()
Global Const $hGUI = GUICreate("Test", 300, 200)
GUISetBkColor(0x404040)
Global Const $iBtn = GUICtrlCreateButton("", 10, 10, 138, 138, BitOR($BS_BITMAP, $BS_CENTER))
Global Const $hImage = _GDIPlus_ImageLoadFromFile(@ScriptDir & "\StepForwardDisabled.png")
Global Const $hHBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hImage)
_WinAP