Page 1 of 1

Progress Bar color?

Posted: Fri Feb 05, 2010 11:21 pm
by SFSxOI
(I'm using Windows 7 BTW, just for reference)

The help file says this for ProgressBarGadget():

"This gadget supports the SetGadgetColor() and GetGadgetColor() functions with the following values as 'ColorType'. (Note: On
Windows XP with enabled skins, this coloring has no effect.)"

Well, it also has no effect on Windows 7 with XP skin support enabled in the compiler options. So on Windows 7 if you don't want that blocky "days-of-windows-16bit-gone-by" look you have to enable XP skin in the compiler options, but then your stuck with Green and thats it. The help file only makes mention that the coloring has no effect for Windows XP, and i'm using Windows 7, so is the help file wrong or is there something i'm missing?

Clearly the progress bar works on Windows 7, so how can I keep the solid-smooth look of the progress bar with Win XP skin enabled in the compiler options yet still choose the color of the progress bar background and foreground?

Re: Progress Bar color?

Posted: Sat Feb 06, 2010 12:06 am
by Rook Zimbabwe
I am betting it is a theme override in 7... just my $0.02 :mrgreen:
If we had a win 7 API you could flag it I would hesitate to bet!

Re: Progress Bar color?

Posted: Sat Feb 06, 2010 12:11 am
by IdeasVacuum
The Help file no doubt pre-dates Win7, the issue is the same for XP, Vista and 7. There is a viable alternative, you can DIY your own progress bar, something we had to do way back when t-rex steaks were on the menu....

Re: Progress Bar color?

Posted: Sat Feb 06, 2010 12:14 am
by Kaeru Gaman
a fancy prograssbar is the easiest application of an animated Image-Gadget...

Re: Progress Bar color?

Posted: Sat Feb 06, 2010 12:46 am
by Arctic Fox

Re: Progress Bar color?

Posted: Sat Feb 06, 2010 1:38 am
by SFSxOI
Thanks for the link Artic Fox. Its really neat and satisfies the need but the PB native bar looks and acts "smoother". However, gonna work with it some and see what I can come up with. :)

Re: Progress Bar color?

Posted: Sat Feb 06, 2010 2:06 am
by c4s
Well, currently it says "XP skin support" in the compiler options. So in my understanding XP stands for everything from XP on like Vista and 7.
Maybe this should be mentioned: XP = XP and everything above ?!