Hello,
Is it possible to pick up the colour values used in the XP themes from
within .net? I am wanting to set the back colour of one of my forms to the
light shade of the theme I am using.
For example, currently I am running the default blue windows XP theme and im
trying to set my form to the light shade of blue that the system uses (its
the shade that appears at the far right of menu bars with gradients, like the
one in Word). I could hard code the RGB values of this colour into my app,
however if I change to a different theme (olive green for example) then my
form is still going to be showing blue.
I have tried looking in the SystemColors class in .net but it doesnt seem to
have the values for these colours? Is there an API I can call to get this
information or am I looking in the wrong place in .net?
Thanks for any help
Kevin