I need buttons dynamic with two images PNG that change with the arrival of the mouse.
I did, this is my code.
but I have a problem.
#include <GDIPlus.au3>
Dim $STM_SETIMAGE = 0x0172
Dim $Image_OneButton = @ScriptDir&"\Button1.png"
Dim $Image_TwoButton = @ScriptDir&"\Button2.png"
_GDIPlus_Startup()
;~ insert Image 1
$hImage_One = _GDIPlus_ImageLoadFromFile($Image_OneButton)
$iW_One = _GDIPlus_ImageGetWidth($hImage_One)
$iH_One = _GDIPlus_ImageGetHeight($hImage_One)
$hBitmap