_ProgressBarType

Sets progress bar type to Windows default or colored rectangle with moving percentage

#include "Dialogue.au3"
_ProgressBarType( [ $iType = 0 [, $iBarColor = 0x0078d7 [, $iPercentageColor = -1 [, $iBackgroundColor = -1 ]]]] )

parameters

$iType Progress bar type, 0 = Windows default, 1 = colored rectangle with moving percentage label
$iBarColor Progress bar color, default Windows 10 blue, -1 = default color
$iPercentageColor Percentage label color, -1 = white
$iBackgroundColor Background color of progress bar rectangle

return value

none

related

_ProgressBarCreate, _ProgressBarActive, _ProgressBarSet, _ProgressBarAdd, _ProgressBarGet, _ProgressBarFull, _ProgressBarEmpty, _ProgressBarDestroy

example

_ProgressBarType( 1, 0xff0000 ) ; red bar
_ProgressBarCreate("Progress bar","Please wait ...")

See library example how to implement a progress bar.