Read the current value of the element parameter.

Call:

ts_dialogcontrol(iProgressBar, "GetMax", int &value);


Here:

value - read value.