hi ! I dont know if is it bug or code mistake. my goal is to use GUICtrlCreatePic to load a jpg in all area of my main GUI (Form1) and place a button to be clickable. All is ok but my button seams to be not clickable. Here is my code : #include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 471, 382, 192, 146, $WS_POPUP)
$Pic1 = GUICtrlCreatePic("d:\image.jpg", 8, 8, 441, 365)
$Button1 = GUICtrlCreateButton("Button1", 352, 336, 81, 25);, BitOR($BS_CENTER,$WS_BORDER,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
msgbox(1,1,"ok")
EndSwitch
WEnd thanks for any help