已解决,代码如下:#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 623, 442, 192, 124, $WS_POPUP,$WS_EX_TOPMOST)
$Label1 = GUICtrlCreateLabel("aaaaaaaaaaa", 56, 96, 372, 17)
GUICtrlSetFont(-1, 11, 400, 0, "宋体")
GUISetState(@SW_SHOW)
AdlibRegister("abc",1000)
Func abc()
$avArray[1] = "."
$avArray[2] = ".."
$avArray[3] = "..."
$avArray[4] = "...."
$avArray[5] = "....."
WinSetTrans("GUIMsgbox", "", 210)
$i = 0
Do
$i = $i + 1
GUICtrlSetData($Label1, "aaaaaaaaaaa" & $avArray[$i])
GUICtrlSetFont(-1, 11, 400, 0, "宋体")
Sleep(800)
GUICtrlDelete($GUIMsgbox_Msg1)
If $i = 5 Then ExitLoop
Until $i >= 5
EndFunc
|