PureCOLOR library : coloring gadgets (and much more)

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Umm.... I don't know... What is it?
:roll: 830 posts and you ask this?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update (all versions)

Changes :
- menus : fixed MenuBar() not ownerdrawn under Win9x
- menus : new function PureCOLOR_SetOfficeStyle()
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Rook Zimbabwe wrote:
Did you use the adapted subsystem ?
Umm.... I don't know... What is it?
Have a look at :
- PureCOLOR.chm : topic 'Unicode_Threadsafe'
- Purebasic.chm : topic 'Compiling your programs'
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
oridan
Enthusiast
Enthusiast
Posts: 128
Joined: Tue Oct 12, 2004 12:14 am
Location: Italy
Contact:

Post by oridan »

Thanks gnozal,
PureCOLOR it is one of my preferred libraries!!
:D
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Hi, any plans for PureCOLOR to support coloring the text of StatusBar fields?
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Gnozal Thanks!!! This is an excellent tool.

The problem cleared up when I made sure all programs were in default mode... one was in Unicode and one was in Ascii...

I sent a string to one and it showed up in the other as Japanese!!!!

All sorted out for now, but I do wish it autowrapped better! 8)

That said I would still pay for this tool. The out of work, poor bastard with a cheap wife rates... but I would pay!!!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

PB wrote:Hi, any plans for PureCOLOR to support coloring the text of StatusBar fields?
Currently, no.
But I will have to rewrite some functions anyway, so maybe.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

PB wrote:Hi, any plans for PureCOLOR to support coloring the text of StatusBar fields?
PB, I went rootling around MSDN to find out how to colour the statusbar and you cannot change the individual fields as they are not children. To be able to do this, you would have to ownerdraw a statusbar and add child objects accordingly.

You can colour the statusbar as a whole this way however.

Code: Select all

#SB_SETBKCOLOR = $2001; Statusbar colour constant

SendMessage_(StatusBarID(#MyStatusBar), #SB_SETBKCOLOR, 0, 16755370)
[/code]
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- menu bars are now also ownerdrawn : office style looks better
- new function PureCOLOR_SetMenuItemSelectionCallback() : the callback is a procedure called each time a menu item is (un)selected. Example of use : display some context sensitive information in the statusbar while a menu item is selected.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
GG
Enthusiast
Enthusiast
Posts: 266
Joined: Tue Jul 26, 2005 12:02 pm
Location: Lieusaint (77), France

Post by GG »

Would it be possible to have a function which retrieves the PureColor version ?
For example : PureColor_GetVersion()
Purebasic 6.12 64 bits - Windows 11 Pro 64 bits 23H2
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

GG wrote:Would it be possible to have a function which retrieves the PureColor version ?
It's currently displayed by the installer (or the ReadMe.txt for the PB3.94 version).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
GG
Enthusiast
Enthusiast
Posts: 266
Joined: Tue Jul 26, 2005 12:02 pm
Location: Lieusaint (77), France

Post by GG »

Absolutely, but I would like to retrieve the PureColor version in my own program .
Purebasic 6.12 64 bits - Windows 11 Pro 64 bits 23H2
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

GG wrote:Absolutely, but I would like to retrieve the PureColor version in my own program .
Ok, I understand
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
jpd
Enthusiast
Enthusiast
Posts: 167
Joined: Fri May 21, 2004 3:31 pm

Post by jpd »

Hi Gnozal,

I have a strange behavior on my Vista system with PB 4.10 and PureColor for PB 41.10
after Installing I start the example file containend in the purecolor package and try to compiling this in Unicode mode.

If this modi on, then the GUI hang!


Any Idea?



in the purebasic folder I have the following purecolor Library:


\PureLibraries\UserLibraries\PureCOLOR 3. ‎Dezember ‎2007 25,3 KB
\SubSystems\UserLibUnicode\PureLibraries\PureCOLOR ‎3. ‎Dezember ‎2007 25,6 KB
\SubSystems\UserLibUnicodeThreadSafe\PureLibraries\PureCOLOR ‎3. ‎Dezember ‎2007 25,7 KB

\Residents\PureCOLOR.res 2. ‎Januar ‎2006 610 Bytes


Thanks

jpd

[edit]
found solution here!! :oops:

http://www.purebasic.fr/english/viewtop ... 742#220742
PB 5.10 Windows 7 x64 SP1
mrjiles
Enthusiast
Enthusiast
Posts: 238
Joined: Fri Aug 18, 2006 7:21 pm
Location: IL

Post by mrjiles »

Wow, just downloaded jaPBe and I have to say that it's great! Keep up the good work!!

Edit: Sorry, wrong forum!
Post Reply