VistaStyleBuilder

Tips and Visual Styles => Tips and Tricks => Topic started by: Dave Senior on August 04, 2011, 09:19:33 pm



Title: Explorer Itemsview FontShadow
Post by: Dave Senior on August 04, 2011, 09:19:33 pm
If you want to add a shadow to the text in  Explorer ItemsView  windows  add these attributes to the following locations in  System32 > Explorerframe.dll > UIFILE 40960  .

Fontstyle="shadow"  Shadowintensity="---"     (Can go up to "500" for the Intensity value)
           ---------------------------------------------------------------------------------------
Open uifile 40960 in notepad-
Search for    -    <style resid="ItemsView">   all the locations are below  it.

Locations:
This one does all itemsview window  text.

  
Code: xml
element background="argb(0,0,0,0)" contentalign="topleft"
 (Can only  control  shadow intensity in certain areas )
--------------------------------------------------------------------------------------------------
Individual Locations  (add the attributes to all these)
                 -Empyt Folder Text
    
Code: xml
UIBase background="argb(0,0,0,0)" contentalign="topleft" 
 
                 - group header text  
    
Code: xml
UIGroupHeader background="argb(0,0,0,0)" contentalign="topleft" 

                 - Itemsview Header  text
    
Code: xml
UIViewHeader background="argb(0,0,0,0)" contentalign="topleft" 
 
                 -Content/Details View text
    
Code: xml
UIItem background="argb(0,0,0,0)" contentalign="topleft" 

                 -Itemsview  / Items view selected text (also Group Header text)
    
Code: xml
UIProperty background="argb(0,0,0,0)" contentalign="topleft" 

                 - Detailstext
    
Code: xml
UITilesPropertyCollection background="argb(0,0,0,0)" contentalign="topleft" 
 
                 -Try harder text
    
Code: xml
 UITryHarder background="argb(0,0,0,0)" contentalign="topleft" 
                               

It should look like this when you're done-

    eg :
Code: xml
UIBase background="argb(0,0,0,0)" contentalign="topleft"  fontstyle="shadow" shadowintensity="300"

        (Locations with single text controls will override those that   control several locations ..  eg :  if you put something in UIProperty Background it's groupheader part can be overridden by adding  to   <UIGroupheader background..)
-------------------------------------------------------------------------------------------------------------------------------
You can also add a font attribute at the  above  locations to take control of various Itemsview fonts-

Adding   -    font="gtf(Listview, 6, 0, 807)"    to  
Code: xml
UIGroupHeader background="argb(0,0,0,0)" contentalign="topleft"


After
  
Code: xml
UIGroupHeader background="argb(0,0,0,0)" contentalign="topleft" font="gtf(Listview, 6, 0, 807)"


Will make the font  for GroupHeader Text  be  at -

Lists, Menus & Tabs > ListView > GroupHeader > Heading1Font:Font.

You can link to any existing font in the .msstyles
-------------------------------------------------------------------------------------------------------------------------------------------------------------
 Note : Remember this is a system file so the edits will show up in all themes.
            The shadow doesn't work on rgb( 0, 0, 0 )  textcolor .
            You'll need to  experiment to get  whats best for you.
            You can use Fontshadow and shadowintensity in alot of other uifiles,
             Make backups of explorerframe.dll
            Test the UIFILE In Res Spy first if possible


  End result - :)

(http://i1134.photobucket.com/albums/m603/Dave_Sr_2011/Themes/Explorersmallfont.png)

(http://i1134.photobucket.com/albums/m603/Dave_Sr_2011/Themes/exp.png)

   here's a few examples of other UIFILES with fontshadow added.

(http://i1134.photobucket.com/albums/m603/Dave_Sr_2011/Themes/Untitled-8.png)

(http://i1134.photobucket.com/albums/m603/Dave_Sr_2011/Themes/ControlPanelShadow.png)

(http://i1134.photobucket.com/albums/m603/Dave_Sr_2011/Themes/Untitled-9.png)

(http://i1134.photobucket.com/albums/m603/Dave_Sr_2011/Themes/Untitled-7.png)



Title: Re: Explorer Itemsview FontShadow
Post by: Panda X on August 04, 2011, 09:45:30 pm
Nice :)

Also if I recall correctly you can also control the shadow size via the msstyles with gtmet(c, p, s, 2402) pointing to ALPHALEVEL:INT


Title: Re: Explorer Itemsview FontShadow
Post by: Dave Senior on August 04, 2011, 10:03:28 pm
Nice :)

Also if I recall correctly you can also control the shadow size via the msstyles with gtmet(c, p, s, 2402) pointing to ALPHALEVEL:INT

  Thanks   :) , been wondering if that could be done,
   I'll give it ago.



Title: Re: Explorer Itemsview FontShadow
Post by: rajtheeban on October 02, 2011, 07:39:25 am
Is it possible to change the color of this shadow (white instead of black) ? ( playing with the "shadowintensity" property maybe) ?
I've already managed to get a green shadow a long time ago, don't know how I did (probably a bug lol)...


Title: Re: Explorer Itemsview FontShadow
Post by: Dave Senior on October 02, 2011, 10:34:37 am
Is it possible to change the color of this shadow (white instead of black) ? ( playing with the "shadowintensity" property maybe) ?
I've already managed to get a green shadow a long time ago, don't know how I did (probably a bug lol)...

Never managed to change the shadow color,tried all kinds of things,not even a green shadow for me.I keep having  ago at it  ...
 If you  find a solution I'd be interested  to know how it's done  :)


Title: Re: Explorer Itemsview FontShadow
Post by: Panda X on October 02, 2011, 01:18:53 pm
I'm 99% sure it can't be changed.