SetProgressBarValue(barid, GetProgressBarValue(barid)+value); // To increase the value
GetProgressBarValue(barid); // To get the current value