I am having a slight problem because my buttons won't click to pull up the function its set to
Can anyone tell me why my buttons won't click? its ontop of an image...
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
GUICreate("Program", 200, 180, -1, -1, $WS_SIZEBOX + $WS_SYSMENU)
GUISetBkColor(0xE0FFFF)
Global $n = GUICtrlCreatePic("Images\image.jpg", 20, 0)
Global $1x = GUICtrlCreateButton("X", 30, 48)
GUICtrlSetOnEvent($1x, "onex")
GUISetState(@SW_SHOW)
while 1
Sleep(1000)
WEnd
func onex()
MsgBox(0, "Debug", "onex Works")
EndFunc