GetSysColor(25)?
-
I wrote a quickie program that used a combo of GetSysColorBrush() (to verify the color's existence) and GetSysColor() to get the color. Surprisingly, GetSysColor(25) is a valid color...which has no #define nor any documentation on MSDN Library. From the Win32 API headers: #define COLOR_INFOBK 24 25? #define COLOR_HOTLIGHT 26 I get a color value of RGB(181, 181, 181). Google (and Google codesearch) turned up nothing. Not really all that important to me to know what this is. But it is a curiousity. Perhaps something left over from the Win3.x days.
-
I wrote a quickie program that used a combo of GetSysColorBrush() (to verify the color's existence) and GetSysColor() to get the color. Surprisingly, GetSysColor(25) is a valid color...which has no #define nor any documentation on MSDN Library. From the Win32 API headers: #define COLOR_INFOBK 24 25? #define COLOR_HOTLIGHT 26 I get a color value of RGB(181, 181, 181). Google (and Google codesearch) turned up nothing. Not really all that important to me to know what this is. But it is a curiousity. Perhaps something left over from the Win3.x days.
You found the secret color that Microsoft paints all its subliminal messages in! Marc
People are just notoriously impossible. --DavidCrow
There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith -
I wrote a quickie program that used a combo of GetSysColorBrush() (to verify the color's existence) and GetSysColor() to get the color. Surprisingly, GetSysColor(25) is a valid color...which has no #define nor any documentation on MSDN Library. From the Win32 API headers: #define COLOR_INFOBK 24 25? #define COLOR_HOTLIGHT 26 I get a color value of RGB(181, 181, 181). Google (and Google codesearch) turned up nothing. Not really all that important to me to know what this is. But it is a curiousity. Perhaps something left over from the Win3.x days.
dontknowitall wrote:
RGB(181, 181, 181).
181+181+181 = 543 543+123 = 666 Obvious.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
-
dontknowitall wrote:
RGB(181, 181, 181).
181+181+181 = 543 543+123 = 666 Obvious.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
Shouldn't it be 181+181+181 = 543 5*4+3 = 23 Now everyone can pick his favourite interpretation :)
Regards, mav -- Black holes are the places where God divided by 0...
-
I wrote a quickie program that used a combo of GetSysColorBrush() (to verify the color's existence) and GetSysColor() to get the color. Surprisingly, GetSysColor(25) is a valid color...which has no #define nor any documentation on MSDN Library. From the Win32 API headers: #define COLOR_INFOBK 24 25? #define COLOR_HOTLIGHT 26 I get a color value of RGB(181, 181, 181). Google (and Google codesearch) turned up nothing. Not really all that important to me to know what this is. But it is a curiousity. Perhaps something left over from the Win3.x days.
Looks like it's the color setting for ButtonAlternateFace. You can find the value at: HKCU\Control Panel\Colors. Default color is 181 181 181. I am not sure what UI element the color applies to though. Also no idea why Microsoft leaves it out of the WinUser.h. Perhaps they don't want us to mess with this setting...