I've made a progress bar and everything seemed to be fine, colour, range, current value etc. but I decided it looked much better as a smooth progress bar (using PBS_SMOOTH), but for some reason the progress bar now resets back to 0, then refills again everytime I use:
to set the current position. At first I thought it was flickering, but when I changed the delay for the loop getting the current value, you can clearly see it is emptying and refilling. The value itself isn't resetting to 0, only the progress bar is.