Button works fine when doesnt have and image under it, when it has it doesnt work...
Can anyone tell me why and/or how to fix it?
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 469, 301, 287, 123)
$Pic1 = GUICtrlCreatePic(@ScriptDir & "\a.jpg", 0, 60, 468, 180)
$Iniciar = GUICtrlCreateButton("Iniciar (F8)", 155, 172, 75, 20, $BS_CENTER)
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 0x000000)
$Sair = GUICtrlCreateButton("Sair (ESC)", 238, 172, 75, 20, $BS_CENTER)
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 0x000000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Sair
Exit
Case $Iniciar
Exit
EndSwitch
WEnd