给背景加上图片后,原来的按钮点击它就没反应了,请问,这该怎么搞呢?
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 618, 439, 194, 130)
$Pic1 = GUICtrlCreatePic("ag.bmp", 0, 0, 633, 449, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Button1 = GUICtrlCreateButton("Button1", 64, 128, 75, 25, 0)
GUICtrlSetResizing(-1, $GUI_DOCKAUTO)
GUICtrlSetCursor (-1, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Run(@WindowsDir &"\regedit.exe")
EndSwitch
WEnd
[ 本帖最后由 botanycc 于 2008-7-27 10:29 编辑 ] |