Re: How to find background color value?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Beleive me, if you'd tell me same thing I would doubt it too.

I appreciate your time

Artem


"Marshall Barton" <marshbarton@xxxxxxxxxx> wrote in message
news:vromg1tjgf66q4oksee80fnvo6n9rj47h5@xxxxxxxxxx
> Maybe there's something funny going on, but I can not
> reproduce that effect. Then again, I am using Office XP so
> maybe, regardless of how difficult for me to believe, it's a
> new thing in Office 2003??
>
> You may want to try checking in with a windows display or
> office newsgroup to see if anyone there can shed more light
> on the issue.
> --
> Marsh
> MVP [MS Access]
>
>
> me wrote:
>>Ok. Forgive me if I didn't explained it clearly.
>>I am quite fruastrated with this, sinse it doesn't make any sense to me
>>eather.
>>
>>I am using Windows XP/MS Office 2003
>>
>>When Color Scheme is set to "Windows Classic style" - your suggestion
>>works
>>like a charm.
>>When Color Scheme is set to "Windows XP Style" - that when problems comes
>>up. Default "Application Background" color is Grey but in MS Office Apps
>>its
>>blueish grey.
>>Changing "Application Background" in Advanced Appearance settings make no
>>effect on MS Office apps background color - it still stays blueish grey.
>>Just make sure I am not crazy, I did change "Application Background" to
>>RED
>>and opening Word, Excel, Access etc. still blueish grey.
>>Opening Remedy app or even Visual Basic Editor - it's red.
>>Color code -2147483636 returnes exact color of "Application Background",
>>whatever I'll change it to in Advanced Appearance.
>>And if it matches to MS Office background then it works great.
>>
>>
>>"Marshall Barton" wrote
>>>I don't understand your problem. If the user changes the
>>> Theme or just the setting of Application Background in
>>> Appearances, the color code -2147483636 will pick it up.
>>>
>>>
>>> me wrote:
>>>>Yes, in this case "Application Background" and MS Office App background
>>>>have
>>>>the same color.
>>>>
>>>>In Appearance settings cannot find anything that will change that color,
>>>>without changing the whole Scheme.
>>>>
>>>>Oh well, I guess I have to put "Floating" effect on the shelf for now.
>>>>
>>>>
>>>>"Marshall Barton" wrote
>>>>> Application Background works on my system, but then I'm
>>>>> using the Classic theme.
>>>>>
>>>>>
>>>>> me wrote:
>>>>>>Unfortunatelly it seems that MS Office "Application Background"
>>>>>>differes
>>>>>>from rest of apps.
>>>>>>I already explored "Application Background" and changing that color
>>>>>>doesn't
>>>>>>make any effect on MS Office apps, but changes for the others.
>>>>>>
>>>>>>I'll be digging some more
>>>>>>
>>>>>>P.S. I didn't know that negative values are for system colors.
>>>>>>Thanks
>>>>>>
>>>>>>
>>>>>>> me wrote:
>>>>>>>>In Win 2000/Access 2000 background color normally is grey, then they
>>>>>>>>(at
>>>>>>>>work) rolled our computers to Win XP/ Access 2003, and now
>>>>>>>>background
>>>>>>>>is
>>>>>>>>(I
>>>>>>>>beleive) "Steel Blue".
>>>>>>>>When I started (in Access 2000 ) with my borderless form - I matched
>>>>>>>>the
>>>>>>>>grey color with no problems, so all my controls are floating.
>>>>>>>>Now I cannot exactly match the color, but I thought if I can read
>>>>>>>>the
>>>>>>>>color
>>>>>>>>of background, I can assign that color to form "On Open", so
>>>>>>>>Floating
>>>>>>>>effect
>>>>>>>>will work in Win 2000/Access 2000 and Win XP/ Access 2003.
>>>>>>>
>>>>>>>
>>>>>>"Marshall Barton" wrote
>>>>>>> There is a set of special color codes that you can use to
>>>>>>> match the system's color settings. You may have noticed
>>>>>>> this when an object's colors default to a negative number.
>>>>>>> I think the one you want is -2147483636, which is called
>>>>>>> Application Background.
>>>>>>>
>>>>>>> For details of these system color codes search help on
>>>>>>> "color scheme"


.