I have been trying to create two progress meters, each with a different color. No luck, so far. Can anyone offer a suggestion?
thanks in advance
I have been trying to create two progress meters, each with a different color. No luck, so far. Can anyone offer a suggestion?
thanks in advance
Set the 'bar' colour to green:Set the background colour to purple:Code:SendMessage(hProgress, PBM_SETBARCOLOR, 0, (LPARAM)RGB(0,128,0));where hProgress is the handle of your progress bar.Code:SendMessage(hProgress, PBM_SETBKCOLOR, 0, (LPARAM)RGB(200,0,200));
edit: formatting
Last edited by Ken Fitlike; 11-25-2002 at 05:28 PM.
Ken Fitlike,
Excellent solution!
Kuphryn
Thanks Ken, I thought no one had a solution.
Funny, there is no mention of PBM_SETBARCOLOR in the Win32 programmers reference.....hmmmm
thanks again
Echidna