作者: DerRaphael 最近更新时间: nonexistent
Creates and controls a progressbar placed atop the last known AHK Gui's Statusbar control.
SB_SetProgress(Value=0,Seg=1,Ops="")
关于函数的参数和返回值, 请参阅其源码或 此文档.
The documentation is part of original author`s post at the forum.
关于此函数(集)的更新细节和注意事项, 请参见 AutoHotkey 论坛: http://www.autohotkey.com/forum/viewtopic.php?t=37754
此函数(集)是基于 EUPL 许可的开源项目. 想了解许可详情, 请参见 EUPL-EN.txt
; #Include SB.ahk #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% Gui,add,text,w280 center,Some text for the gui! Gui,add,statusbar Gui,show,w300,Statusbar with Progress SB_SetParts(20,200,100) ; Make 3 different parts SB_SetText("demotext",2) ; Set a text segment 2 SB_SetIcon(A_AhkPath,1,1) ; Set an Icon to 1st segment ; create a 50% progressbar with yellow background and blue bar hwnd := SB_SetProgress(50,3,"BackgroundYellow cBlue") return