Page 26 of 35
Posted: Mon Apr 14, 2008 2:57 pm
by gnozal
Rook Zimbabwe wrote:This is what it looks like now. I can stand the ellipses on that button.
Good.
Just a note : the lines are only broken between words, and there is not enough space to hold 'BRUSCHETTA' (whatever this may be) on one line on your buttons (PB does break the words, I prefer the ellipses).
You may choose another font or font size. Or use bigger buttons

Posted: Mon Apr 14, 2008 2:59 pm
by Rook Zimbabwe
Bruschetta is an Italian Nacho
Posted: Thu Apr 24, 2008 10:01 pm
by Rook Zimbabwe
I am probably using the wrong UserLib, but if I have enabled Use XP Skins in the compiler Options... is that going to change the look of the Colored buttons as well?

Posted: Fri Apr 25, 2008 7:58 am
by gnozal
Rook Zimbabwe wrote:I am probably using the wrong UserLib, but if I have enabled Use XP Skins in the compiler Options... is that going to change the look of the Colored buttons as well?

The PureCOLOR colored buttons aren't like ordinary buttons (I add the #BS_BITMAP style and draw on the image) : they will loose the XP skin look if colored.
Posted: Mon Apr 28, 2008 4:32 am
by Rook Zimbabwe
Had you looked in to using these (form MS API documentation)?
COLOR_BTNFACE
The color of a button's face.
COLOR_BTNHIGHLIGHT
The color of a button's highlight area.
COLOR_BTNSHADOW
The color of a button's shadow area.
COLOR_BTNTEXT
The color of a button's text
I got them here:
http://www.xs4all.nl/~rjg70/vbapi/ref/w/wndclass.html
do they use hex value or rgb?
Posted: Mon Apr 28, 2008 8:36 am
by gnozal
Rook Zimbabwe wrote:Had you looked in to using these (form MS API documentation)?
COLOR_BTNFACE
The color of a button's face.
COLOR_BTNHIGHLIGHT
The color of a button's highlight area.
COLOR_BTNSHADOW
The color of a button's shadow area.
COLOR_BTNTEXT
The color of a button's text
The default colors like #COLOR_BTNTEXT / #COLOR_BTNFACE (using GetSysColor_()) are used by the PureCOLOR coloring functions when #PureCOLOR_SystemColor is used as color value.
Posted: Sat May 24, 2008 12:28 pm
by Marco2007
Does the lib work with 4.20 final?
Posted: Sat May 24, 2008 2:02 pm
by gnozal
Marco2007 wrote:Does the lib work with 4.20 final?
It seems so.
Report any problem if it doesn't.
Posted: Tue Jun 03, 2008 4:45 pm
by GG
GG wrote:Any chance to have a PureColor library for PB 4.20 ? I have some strange behaviour with PB4.20b2 and PureColor 4.10 with PureColor_Version() : When I use Purecolor_Version() with messagerequester, openwindow, or others, text which is before purecolor_version is not printed.
Example :
MessageRequester("Purecolor 4.10","PureColor : "+PureCOLOR_Version()+" - "+" Tag : "+Date$+" - "+dbpath$,#PB_Window_MinimizeGadget|#PB_Window_ScreenCentered|#PB_Window_SizeGadget) : doesn't print "PureColor : "
MessageRequester("Purecolor 4.10","PureColor : "+" - "+" Tag : "+Date$+" - "+dbpath$,#PB_Window_MinimizeGadget|#PB_Window_ScreenCentered|#PB_Window_SizeGadget) : It's OK.
I'm still having the problem with PB 4.20 final and 14.03 PureColor library.
MessageRequester("Coucou","PureColor : "+PureCOLOR_Version())
prints : "coucou" on the title, that's ok.
But instead of printing : "PureColor 14.03", i've got only : "14.03".
I'm under XP SP2.
Posted: Wed Jun 04, 2008 12:17 pm
by gnozal
GG wrote:I'm still having the problem with PB 4.20 final and 14.03 PureColor library.
MessageRequester("Coucou","PureColor : "+PureCOLOR_Version())
prints : "coucou" on the title, that's ok.
But instead of printing : "PureColor 14.03", i've got only : "14.03".
I'm under XP SP2.
Your example is ok with PB4.10.
I will build a version for PB4.20 with the latest tailbite fix.
Posted: Wed Jun 04, 2008 2:31 pm
by gnozal
Update (PB4.20 only)
Changes :
Recompiled library with PB4.20 and latest tailbite fix.
Link :
http://freenet-homepage.de/gnozal/PureCOLOR___.zip
Posted: Wed Jun 04, 2008 2:47 pm
by GG
Thanks gnozal, it works great now

Is it normal the actual 14.03 release number hasn't changed since the previous release ?
Posted: Wed Jun 04, 2008 3:14 pm
by gnozal
GG wrote:Is it normal the actual 14.03 release number hasn't changed since the previous release ?
Yes, since the library code hasn't changed (it's the same for PB4.0x/PB4.1x/PB4.2x).
Posted: Thu Jun 19, 2008 1:00 pm
by Num3
PureColor is now bugged with the updated Listicongadgets!
Code: Select all
PureCOLOR_SetGadgetColorEx(#Gadget_main_listtrab, #PureCOLOR_SystemColor,#PureCOLOR_SystemColor, RGB(255, 255, 223), #PureCOLOR_LV_AlternateColors)
Disables gridlines!!!
Posted: Mon Jun 23, 2008 8:50 pm
by c4s
A bug I realized in the PB 4.20 version (PC 14.03):
I give a ButtonGadget a color with PureCOLOR_SetButtonColor() (with the
first BackColor option). Then I disable the button and it should be gray but it
is white now (in disabled state). After that I enable the button again and now
the ButtonGadget should have the color I set before but it's sometimes gray
or white and definitly not the color I want ...
The PB 4.10 worked totally correct... (disabled color = gray; enabling gives
the correct color back!)
Please try to fix it ... because PureCOLOR is a very excellent library
