Author: Tomas Rutkauskas
How to modify the color of a TProgressBar
Answer:
If you have 4.71 or greater CommCtrl32.dll version, you can use this to set the bar
color:
1 2 SendMessage(ProgressBar1.Handle, PBM_SETBARCOLOR, 0, clLime);
or
3 4 SendMessage(ProgressBar1.Handle, PBM_SETBKCOLOR, 0, clGreen);
The messages are defined in COMMCTRL.pas.