It is currently Mon May 20, 2013 1:35 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject:
PostPosted: Thu Feb 16, 2006 2:54 pm 

Joined: Tue May 10, 2005 8:36 am
Posts: 11
For the non-faint of heart (using Win2000 and WinXP), all credit to Fl?gger!!!!

Save the text below the line (===) to a file named "WW tray color.reg" without the quotes.

Double clicking the file will enter the values into the registry. This made the updating the rest of my computers a lot simpler that going into the registry each time.

==========================================================

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Weather Watcher\TrayIcon]
"WhenNegative"="True"
"NegativeColor"="2046"


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 27, 2006 11:33 pm 
User avatar

Joined: Sun Dec 18, 2005 12:11 pm
Posts: 115
Location: Denmark
Ok, it's been a while, but i looked back, and guessed a little on the color code - it's probably the VB code (or something similar) which is the RGB code in hex encoding (like web colors), but with the pairs in backwards order, and then converted to a single decimal number (you can do this with the windows calc, set to scientific mode).

E.G.
You want the color yellow:
The hex RGB (web) value would be FFFF00.
Then the pairs are reversed: FF FF 00 => 00 FF FF
Then converted to decimal: 00FFFF => 65535
Put this value in the registry and you should get a bright fresh yellow.

Or maybe you'd like an aqua-ish color:
The hex RGB (web) value would be 98F5FF.
Then the pairs are reversed: 98 F5 FF => FF F5 98
Then converted to decimal: FFF598 => 16774552
Put this value in the registry and you should end up with a nice and cool aqua (or what you'd call it).

Hope this clarifies a bit :cool:


Last edited by Flügger on Tue May 23, 2006 9:17 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 01, 2006 4:36 pm 
User avatar

Joined: Sat Mar 05, 2005 3:33 pm
Posts: 74
After a little trial & error with the colors, I found that "16711680" turns out to be a deep blue (for freezing temps).

'Droid


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 02, 2006 11:06 am 
User avatar

Joined: Sun Dec 18, 2005 12:11 pm
Posts: 115
Location: Denmark
Hehehe, well, I guess I forgot to say that no trial and erroring was actually needed :cool: you could just go to the WW options and set ie. the background color for the tray icon to the color you'd like, and then go to the registry key mentioned above and you'll find the right value in the "BackColor" key.
This seems to me like the easiest way :mrgreen:


Last edited by Flügger on Tue May 23, 2006 9:18 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 02, 2006 5:51 pm 
User avatar

Joined: Sat Mar 05, 2005 3:33 pm
Posts: 74
Fl?gger, I think you did mention it elsewhere -- and that's really what I did. The only real "trial & error" came in experimenting with the amount of blue needed to be distinguishable from black on my (relatively low-quality) monitor. [:)]

I just figured since I did the work I'd pass along the resulting number, since that's one that hasn't been posted before. It's the RGB equivalent of 0000FF. (Kinda like saying "oof" when you trip over something -- heh!)

'Droid

p.s. -- wow, I just noticed we're tied in number of posts. [:o)]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 02, 2006 11:32 pm 
User avatar

Joined: Sun Dec 18, 2005 12:11 pm
Posts: 115
Location: Denmark
Hehe, yeah, we WERE tied, but doesn't really matter - what matters is what you say, and not how much - but guess we're tied there aswell...

But, to get to the point, I thought it might be najs with some basic standard values, so you don't have to poke too much around..:

Code:
Clear red:    h(FF0000) - RGB(255,   0,   0) - 255
Clear yellow: h(FFFF00) - RGB(255, 255,   0) - 65535
Clear green:  h(00FF00) - RGB(  0, 255,   0) - 65280
Clear aqua:   h(00FFFF) - RGB(  0, 255, 255) - 16776960
Clear blue:   h(0000FF) - RGB(  0,   0, 255) - 16711680
Pink/purple:  h(FF00FF) - RGB(255,   0, 255) - 16711935

Grays:
Black:        h(000000) - RGB(  0,   0,   0) - 0
Darker gray:  h(333333) - RGB( 51,  51,  51) - 3355443
Dark gray:    h(666666) - RGB(102, 102, 102) - 6710886
Neutral gray: h(7F7F7F) - RGB(127, 127, 127) - 8355711
Dark gray:    h(999999) - RGB(153, 153, 153) - 10066329
Ligher gray:  h(CCCCCC) - RGB(204, 204, 204) - 13421772
White:        h(FFFFFF) - RGB(255, 255, 255) - 16777215

Hope this is of some help to somebody, and that my post wasn't just a post for the posts sake :razz:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group