Changing ProgressBar Color of CProgressCtrl

This Example, If your Windows theme is default, the Start Progress button will start progress with a grey background and blue bar. We imitate the bar motion by adding a small delay as it progresses. The Reset Progress button will return the progress to the beginning. The sample’s Set Red button changes the foreground colour to Red and the background colour to white.