Progress Bar color?

Everything else that doesn't fall into one of the other PB categories.
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Progress Bar color?

Post 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?
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Progress Bar color?

Post 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!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Progress Bar color?

Post 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....
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Re: Progress Bar color?

Post by Kaeru Gaman »

a fancy prograssbar is the easiest application of an animated Image-Gadget...
oh... and have a nice day.
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: Progress Bar color?

Post by Arctic Fox »

SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: Progress Bar color?

Post 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. :)
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Progress Bar color?

Post 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 ?!
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Post Reply