Library : Color (only for Windows)

Developed or developing a new product in PureBasic? Tell the world about it.
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Library : Color (only for Windows)

Post 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
A+
Denis
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Sweet! Thank you!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
DominiqueB
Enthusiast
Enthusiast
Posts: 103
Joined: Fri Apr 25, 2003 4:00 pm
Location: France

Cool

Post 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.
Dominique

Windows 10 64bits. Pure basic 32bits
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post 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
A+
Denis
ebs
Enthusiast
Enthusiast
Posts: 561
Joined: Fri Apr 25, 2003 11:08 pm

Post 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
Denis
Enthusiast
Enthusiast
Posts: 778
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Post by Denis »

Thanks Ebs


Denis
A+
Denis
Post Reply