Page 1 of 1

Library : Color (only for Windows)

Posted: Fri Aug 22, 2003 6:40 pm
by Denis
Hi All,

i put on my web page a small lib with only 2 commandes :

SetProgressBarColor() and GetProgressBarColor().I've done it some months ago but never done help file. I did it today and it's here :

http://denislabarre.free.fr/index_en.html
with an english chm help file

and here

http://denislabarre.free.fr/index.html
with a french chm help file (avec un fichier d'aide en français).

SetProgressBarColor() is useful command.

So, there are 2 files : A zip file and an exe file.
Exe file will extract and install all files (5).

With zip file, unzip it in a temporary folder and then open the chm file and take a look to section installation and put all files as indicated.

I you have problem(s), explains them here.

A+

Denis

Posted: Fri Aug 22, 2003 6:45 pm
by Karbon
Sweet! Thank you!

Cool

Posted: Fri Aug 22, 2003 7:20 pm
by DominiqueB
An idea: could you add a SetProgressBarcolourProgressive(fromyellow, tored) that would set a progressive colour painted one ?
Or instead of litle coloured blocks makes them as icon like SetProgressBarBlock(banana.ico)

Could you change the name of the lib to a meaningfully one as ProgressbarColour cause color may conflict with other's ? ? ?

Thank's a lot !

It works ok on xp pro.

Dominique.

Posted: Fri Aug 22, 2003 7:45 pm
by Denis
An idea: could you add a SetProgressBarcolourProgressive(fromyellow, tored) that would set a progressive colour painted one ?
Or instead of litle coloured blocks makes them as icon like SetProgressBarBlock(banana.ico)
I have to take a closer look, and may be ... But first, when i was wrinting this small lib, it was to add color commands, but most of the time, these commands needs Callback procedure and i think that it's better to write a full lib for one gadget type to have only one callback for all commands. Not a good idea to scatter commands.
Could you change the name of the lib to a meaningfully one as ProgressbarColour cause color may conflict with other's ? ? ?
Dominique, i just rename the color lib file (Purelibraries\userlibraries\color to Purelibraries\userlibraries\MoreProgressBar. I've closed PB and then lauch it and it's work without problems. :wink:
Thank's a lot !
:D :D :D


A+

Denis

Posted: Sat Aug 23, 2003 12:52 am
by ebs
Denis,

Just to let you know that changing the ProgressBar color will not work under Windows XP if XP skin support is enabled. In this case, ProgressBars are always segmented and green - #PB_ProgressBar_Smooth does not work either.

Regards,
Eric

Posted: Sat Aug 23, 2003 5:57 am
by Denis
Thanks Ebs


Denis