What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Wrong hex color values in registry entries of Plus!

Wrong hex color values in registry entries of Plus!
Author: Message:
ahmetgns
Veteran Member
*****

Avatar

Posts: 1343
Reputation: 8
39 / Male / Flag
Joined: Dec 2006
O.P. Wrong hex color values in registry entries of Plus!
While I am trying to apply registry settings about colors, I think I found a bug. Because the registry entries for colors doesn't use RGB colorref values but it uses BGR (!) values. For example yellow's hex value must be FFFF00, however in registry we have to use 00FFFF to apply yellow. Because if we write FFFF00 in the registry, it is aquamarine color, not yellow. Even, if we set yellow from prefences panel, for example for floating desktop contacts windows' background, then that color's value is registered as 00FFFF in registry. If you say this is intended behaviour then there is a problem with TabChatFlashColor entry. Because it uses the true RGB values, I mean, the problem I mentioned above isn't valid  for that value. If we write the correct RGB value FFFF00 for yellow, then tabs flash with yellow color. Please fix the first problem, if it is not a problem, then fix the second problem with TabChatFlashColor.
02-02-2008 11:35 AM
Profile PM Web Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Wrong hex color values in registry entries of Plus!
Do you use an RTL version of MP!L? That could be one explination (I think)
<Eljay> "Problems encountered: shit blew up" :zippy:
02-02-2008 12:26 PM
Profile PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Wrong hex color values in registry entries of Plus!
It is stored as a COLORREF, which is in BGR format. This is completely normal and not a bug. Most applications use this as their color format.

This post was edited on 02-02-2008 at 05:03 PM by deAd.
02-02-2008 05:02 PM
Profile PM Find Quote Report
ahmetgns
Veteran Member
*****

Avatar

Posts: 1343
Reputation: 8
39 / Male / Flag
Joined: Dec 2006
O.P. RE: Wrong hex color values in registry entries of Plus!
quote:
Originally posted by SpunkyLoveMuff
Do you use an RTL version of MP!L? That could be one explination (I think)
No, I use LTR Plus! and I don't think it is related to Windows registry in any way.
quote:
Originally posted by deAd
It is stored as a COLORREF, which is in BGR format. This is completely normal and not a bug. Most applications use this as their color format.
I checked Windows Live Messenger's registry entry "IM Color" after setting my font color to yellow and I saw it is stored as RGB in it too (FFFF00). So I decided to post this thread however I am still not that sure of it.

In fact there would be no that big problem if Plus! didn't offer registry settings. However while setting these settings in registry people must know they must use BGR values.

If your statement is true, then TabChatFlashColor must use BGR values too in terms of consistency ;) I think we both agree on this.
02-02-2008 06:04 PM
Profile PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Wrong hex color values in registry entries of Plus!
I'll correct the documentation for the registry entries... the reason for this is that ARGB is encoded the opposite way to RGB and some values are ARGB, some others are not :).

Thanks for reporting.
[Image: signature2.gif]
02-02-2008 06:40 PM
Profile PM Web Find Quote Report
ahmetgns
Veteran Member
*****

Avatar

Posts: 1343
Reputation: 8
39 / Male / Flag
Joined: Dec 2006
O.P. RE: Wrong hex color values in registry entries of Plus!
*Reminder bump*

Still not corrected :dodgy:
10-19-2008 10:28 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On