I had colorful progress bars in my GUI that I liked:
However, I wanted the GUI to look be in the Windows 7 style when on Windows 7, so I added this pragma
#pragma comment( linker, "/manifestdependency:\"type='win32' \
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
processorArchitecture='*' publicKeyToken='6595b64144ccf1df' \
language='*'\"")
But this resulted in monochrome (green), animated glowing toolbars that I don't like:
So I removed the styles by entering:
SetWindowTheme(hProgress, L" ", L" ");
The results where not bad:
However, note that there's no border around the progress bar though I rely on the same resource file. How do I set the progress bar to the original look while retaining the Windows 7 look for the rest of the window?