Color setting vs image overlay

I'm working on trying to support some theme/skin changes to my toolbars in a legacy app.   I'm having some difficulty isolating one of the settings. 

 

For reference I'm using the "Win8 metro" theme on Windows 10. When I view it in skinstudio I find that the image that successfully changes my toolbar background color is: "toolbar_back.bmp".  

 

I want to be able to load a full theme, but switch out this particular value manually elsewhere. I thought this setting use to be controlled in the registry, but all of the windowblind themes are using an single color image to overlay this toolbar. Is that the only way this toolbar background color is modifiable? Overlaying an image? Or can this be done with an rgb value?

 

Thanks

10,844 views 1 replies
Reply #1 Top

You have the correct image. In skinstudio Located here: edit controls/edit toolbar controls. At the bottom Rebar controls/background.  To use a color and not an image do this. When you are at the background location click on "Code editor" on the botton. Highlight and delete the code. (NOTE: I suggest saving it first in case you wish to put it back) After deleting it click apply. To change the color also in SKS open Change skin colors. On the top drop down menu open and click on "Show me the skin defined colors" The color you want to change is "Button face/dialog background" Click apply.  NOTE: this changes other places so if you find another color the same that doesn't work for you the thing you may have to do is come up with a color that works in the different places,

 

+1 Loading…