Recommended Posts

As for the caption bar text color things get a bit difficult, you need to search for the color of the text you want to change to another color ....

But most of the time it's either -

foreground: rgb(255,255,255);

Or ....

background: argb(0,255,255,255);

In either of the UIFILE's ....

Radish?

  phased said:
another question how do u diasble shellstyles? i see this sometimes in visual styles

You just rename the '.dll' of the shellstyle filename to what ever you want & it will be disabled ....

Radish?

  Radish? said:
You change the colours by getting the RGB's from either Display Properties or an image editor ....

Radish?

or color;)d ;)

woohoo, got the colors changed, now just to play with the bmps

Edited by spookshow

For a little more clarity a is in UIFILE 1 under the style taskpane. look for the following code:

element [id=atom(sectionlist)]
{
background: gradient(argb(0,123,162,231), argb(0,99,117,214), 1);  //here it is
padding: rect(12rp,12rp,12rp,12rp);
borderthickness: rect(1,0,0,1);
bordercolor: white;
}[CODE]
Now just change the rgb values for the background gradient, or you can change it to and rgb or an rcbmp if you like if you use a bitmap it will be tiled (nice for pinstriping and such)

B is actually in two places both of them are in UIFILE 2 first is in the style CategoryListSS under the view element just look for code like this:
[CODE<style resid=CategoryListSS>
element
{
background: argb(0,0,0,0);
}
element [id=atom(view)]
{
background: rgb(99,117,214);               //right here
borderthickness: rect(0,0,0,1);
bordercolor: white;
}

So once again just change the background value :)

The second place b is (this is for the second CP screen after you click on something like display properties) under the CategoryViewSS style in the view element. Look for code like this:

<style resid=CategoryViewSS>
element
{
background: argb(0,0,0,0);
}
element [id=atom(view)]
{
borderthickness: rect(0,0,0,1);
bordercolor: white;
background: rgb(99,117,214);         //right here
}

and yes just the same thing change it to a set the rgb or change it to a gradient or rcbmp

Now for the caption text this is also in two different places one place is for the top box in special folders like picture folders and the other is for all the rest of the boxes. Both of these are in UIFILE 1. Lets start with the special box. It is under the mainsectionss style in the elements header & title. (it is actually the element title but the way microsoft wrote it they put it's color under header and it inherits it as it is a child element)

<style resid=mainsectionss>
element
{
background: argb(0,0,0,0);
}
expando
{
fontface: rcstr(1);
fontsize: rcint(15)pt;
margin: rect(0rp,5rp,0rp,0rp);
animation: rectanglev | s | fast;
background: argb(0,0,0,0);
}
button
{
cursor: hand;
}
button [keyfocused]
{
contentalign: focusrect;
}
button [id=atom(header)]
{
background: rcbmp(110,6,#FF00FF,0,0,1,0);
borderthickness: rect(2,2,2,0);
foreground: white;                                            //Main color here
fontweight: rcint(10);
padding: rect(10,0,0,0);
animation: rectanglev | s | fast;
}
element [id=atom(title)]
{
contentalign: middleleft;
padding: rect(0rp,0rp,4rp,0rp);
animation: rectanglev | s | fast;
}
element [id=atom(title)][keyfocused]
{
foreground: white;                                           //it's keyfocused color goes here
}
element [id=atom(title)][mousefocused]
{
foreground: rgb(66,142,255);                          //and mouse focused color here
}

So just change the word white to the appropriate rgb value and set the rgb as you would like.

As for the rest of the boxes well they are under the sectionss style in the first button (they didn't define a header for these boxes) and in the title element.

<style resid=sectionss>
expando
{
fontface: rcstr(1);
fontsize: rcint(15)pt;
margin: rect(0rp,15rp,0rp,15rp);
animation: rectanglev | s | fast;
background: argb(0,0,0,0);
}
button
{
background: rcbmp(112,6,#FF00FF,0,0,1,0);
foreground: rgb(33,93,198);                              //Main color here
fontweight: rcint(10);
padding: rect(10rp,0rp,1rp,0rp);
borderthickness: rect(2,2,2,0);
bordercolor: rgb(198, 211,247);
cursor: hand;
animation: rectanglev | s | fast;
}
button [keyfocused]
{
contentalign: focusrect;
}
element
{
background: argb(0,0,0,0);
}
element [id=atom(title)]
{
contentalign: middleleft;
animation: rectanglev | s | fast;
}
element [id=atom(title)][mousefocused]
{
foreground: rgb(66,142,255);                      //mousefocused color goes here
}

So as usual just set the rgb's as you please and you should be set.

yeah, i'm checking them all right now

edit: whack, what you told me about the caption bars, did you tell me about the ones on the side?

i was looking to learn about the caption bars on the windows, i plugged in 0,0,0 in all the ones you told me to, and the side bars changed

(i'm sure i can do this myself, but i get distracted easily, shiiiiiiiiiiiiiiiiiiiiiny)

double edit: radish^tm it seems to all be working now... didn't change anything except the text color :/

triple edit: see attached picture

post-34-1058984345.jpg

Edited by spookshow

Spookshow:

  Quote
my big question is "is there a shellstyle.dll explained" tut somewhere or something?
I'm working on one but it's alot to document The first thing is going to be a wlakthrough of a really difficult shellstyle hack then I'll work on the sections but till I finish something I don't know of any at all. But just send me an e-mail or IM if you need any help with anything I know the shellstyle inside and out.

Radish:

  Quote
It's graphics related spookshow, maybe you didn't set the image bit right - e.g. 24-bit ....

It's not nessecarily a graphics problem it can also be a script problem like leaving off a semicolon on the end of a line or writing a statement incorectly or a misspelling.

Spookshow:

  Quote
whack, what you told me about the caption bars, did you tell me about the ones on the side?

Yes I told you about the side caption bars the text for the main window caption bars is in the .msstyles file not the shellstyle.dll.

They are under CaptionText and InactiveCaptionText in the sysmetrics section :)

  Quote
Yes I told you about the side caption bars the text for the main window caption bars is in the .msstyles file not the shellstyle.dll.

They are under CaptionText and InactiveCaptionText in the sysmetrics section

really?

i think i knew that already lol

edit: hahahhah, ok, i found it, now i feel REALLY stupid :D

I have a quick question as well.

I downloaded a theme that did not come with a shellstyle. So I decided to take a shellstyle.dll file from another theme to accompany it. In the theme's folder, I created a shell\Normalcolor folder and placed the shellstyle.dll file there. But when I applied the theme, it didn't work. The style showed isn't the one from the shellstyle.dll file. What am I doing wrong? Do I have to edit the msstyle file in some way?

  • 2 weeks later...
  hush66 said:
I have a quick question as well.

I downloaded a theme that did not come with a shellstyle. So I decided to take a shellstyle.dll file from another theme to accompany it. In the theme's folder, I created a shell\Normalcolor folder and placed the shellstyle.dll file there. But when I applied the theme, it didn't work. The style showed isn't the one from the shellstyle.dll file. What am I doing wrong? Do I have to edit the msstyle file in some way?

Try: Shell/NormalColor

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.