#include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 290, 180) $Progress1 = GUICtrlCreateProgress(40, 64, 198, 17, $PBS_SMOOTH) GUISetState(@SW_SHOW) $n = 1 While 1 GUICtrlSetData($Progress1, ($n / 100) * 100) $n += 1 Sleep(100) If $n = 100 Then $n = 1 If GUIGetMsg() = $GUI_EVENT_CLOSE Then Exit WEnd
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-25 13:36 , Processed in 0.132614 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.