cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Progress Bar Color
Progress Bar Color
Jul 21, 2009 at 2:57pm UTC
Lamblion
(642)
The following has no effect...
SendMessage(hProgBarWnd, PBM_SETBARCOLOR, 0, (LPARAM)(COLORREF)RGB(0,0,255));
I've set as one of my flags for INITCOMMONCONTROLSEX the ICC_PROGRESS_CLASS, but no matter what I try, I can't get the bar color to change. I'm using XP.
What am I missing?
Jul 21, 2009 at 7:01pm UTC
Lamblion
(642)
I was informed elsewhere that if Themes are on then this flag doesn't work, so that answers my question.
Topic archived. No new replies allowed.