Hi!
I'm trying to have some buttons with images but the images don't show up no matter what I do. I've tried everything from absolute paths to other file extensions, compiling it x86, x64. Here's an example
I'm trying to have some buttons with images but the images don't show up no matter what I do. I've tried everything from absolute paths to other file extensions, compiling it x86, x64. Here's an example
#include <GUIConstants.au3> #include <ButtonConstants.au3> #include <GuiButton.au3> $GUI = GuiCreate("test", 222, 222, -1, -1)$piesag = GuiCtrlCreateButton("", 14, 16, 44, 44, $BS_BITMAP) GuiCtrlSetImage($piesag, "\piese\1a.bmp") GUISetState(@SW_SHOW, $gui) While(1) $msg = GuiGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit WEnd