WinXProgress_SetPos


WinXProgress_SetPos (hProg, DOUBLE pos)

Sets the position of the progress bar

Parameter Description
hProg The handle to the progress bar to set the position for
DOUBLE pos The position to set the progress bar to. 0 empties the progress bar, 1 completely fills it.

Returns

$$TRUE on success or $$FALSE on fail

Remarks

The pos parameter is the proportion of the progress bar to fill.

Examples

'empty a progress bar
WinXProgress_SetPos (hProg, 0)

Related Links

WinXAddProgressBar