如何在gui中显示进度条

时间:2014-12-12 03:04:23

标签: autohotkey

我将进度条显示在一个单独的窗口中,但是不能让它显示在与带文字的Gui相同的窗口中。

Gui,Add,Progress, b w200, in progress, downloading, downloading Exe
Gui,Add,Text,vStatus, See status bar for dowload progress
Gui,Show,w250 h375
Gosub blah ;where i update the progressbar

blah:
Progress,50
return

1 个答案:

答案 0 :(得分:1)

非常简单:

Gui, Add, Progress, w200 h20 -Smooth vMyProgress, 0
Gui,Add,Text,vStatus, See status bar for dowload progress
Gui,Show,w250 h375
GoSub, blah
Return

blah:
    GuiControl,, MyProgress, 50 
Return
相关问题