SB

Author: DerRaphael Last Modified: nonexistent


Creates and controls a progressbar placed atop the last known AHK Gui's Statusbar control.

SB_SetProgress(Value=0,Seg=1,Ops="")

For the functions's parameters and return value, please see it's source code or the document.

Remarks

The documentation is part of original author`s post at the forum.

For update's details and remarks related to the functions, please see the AutoHotkey Forum: http://www.autohotkey.com/forum/viewtopic.php?t=37754

License

The functions is an open source item under the EUPL license.
For details, please see EUPL-EN.pdf

Example

; #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