第3个问题,群里解决方法#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\guland\Desktop\PNG浏览\Form1.kxf
$Form1 = GUICreate("Form1", 513, 341, 310, 238)
$Pic1 = GUICtrlCreatePic("bg_1.gif", 4, 4, 505, 265)
GuiCtrlSetState(-1,$GUI_DISABLE)
$Button1 = GUICtrlCreateButton("Button1", 178, 106, 115, 41)
$Button2 = GUICtrlCreateButton("Button2", 24, 282, 75, 25)
$Label1 = GUICtrlCreateLabel("撒打算的阿什顿撒的阿什顿阿斯顿啊 ", 20, 22, 202, 17)
$Label2 = GUICtrlCreateLabel("adadadadasdasdasdasdadasdas", 20, 46, 160, 17)
$Label3 = GUICtrlCreateLabel("131312123123123123123123123123123123", 24, 74, 220, 17)
GUISetState(@SW_SHOW)
GuiCtrlSetState(-1,$GUI_ENABLE)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
GUICtrlSetData($Button1,"我改我改")
GUICtrlSetData($Label1,"好用好用好用好用好用好用好用好用")
GUICtrlSetData($Label2,"好用好用好用好用好用好用")
GUICtrlSetData($Label3,"好用好用好用好用")
EndSwitch
WEnd
|