Deviation Actions

ZEUSosX's avatar

Auto-hide Folderband of win 7

By
27 Comments
23K Views
Auto hide the folderband command bar of Windows 7

To make the "Folder Band" Auto-hide in Windows Explorer, you'll have to edit the "Shellstyle.dll" file which you can get in your currently used theme folder. For example, if you are using default Windows 7 theme, then you'll get the "Shellstyle.dll" file in following directory:

%windir%\Resources\Themes\Aero\Shell\NormalColor

So here is a step-by-step tutorial:

1. First save to a safe folder your original "Shellstyle.dll" as a backup.
then again copy "Shellstyle.dll" lets say to your desktop and open the "Shellstyle.dll" file in Resource Hacker.

2. Goto "UIFILE -> 1 -> 1033".

3. Press <Ctrl>+F or click on "View -> Find Text..."
.
4. Now type "<style resid="FolderBandStyle">" (without quotes) in "Find what" textbox.

5. It'll let you go to following lines:


<style resid="FolderBandStyle">

<Element

background="argb(0, 0, 0, 0)"

/>


Now press <Enter> after /> line then again press <Enter> and add following line:

<if mousefocused="false" mousewithin="false"><Element padding="rect(0rp,0rp,0rp,-28rp)"/>

</if>



[you can choose values between -28rp and -31rp but do your experiments after ]
So now it'll look like following:


<style resid="FolderBandStyle">

<Element

background="argb(0, 0, 0, 0)"

/>

<if mousefocused="false" mousewithin="false"><Element padding="rect(0rp,0rp,0rp,-28rp)"/>

</if>


6. Now click on "Compile Script" button and then save the file. Replace the original shellstyle.dll that existed to your themes folder [to this example the shellstyle.dll that exist to %windir%\Resources\Themes\Aero\Shell\NormalColor with the new one that you have saved.

7. Log off or restart to see the changes.

Now Normaly Folderband will be auto-hidden and whenever you'll hove the mouse over it, it should appear, but because on windows 7 some things work different than vista, you may see that when mouse over the edge of the folderband this 'flickers' up and down, SO :

--------------

SOLUTION FOR WINDOWS EXPLORER , MY COMPUTER WINDOW STYLE.

For solving this somehow you must do this:
You need a mouse with left and right clik [with mighty mouse is difficult to make it].
Very gently you touch with your mouse the edge of the folderband. [or the area down of the Search bar]
**** Attention : Best area for setting your mouse pointer is the area where no buttons or text on folderband existed. How do we find , as our foderband is closed = no visible, so we dont see it : in the right part of our folderband existed an area with 3 buttons and this area is about 150 pixels from the edge. So we choose the area after those 150 pixels about.
So, touch with your mouse pointer as in the image [blue line area, white line designed to show you where exact] for non having any problem, see in upper part of the preview image of this web page.
But even if that area canot selected very ease or very well Then the best area could work is the FAR RIGHT area , so touch with your mouse the far right area, there in the right border, down of the right edge part of search pane . ^ ****
Then folderband opens. Do not moove your mouse. Press right clik and dont leave your finger from the right button of the mouse. then drag your mouse with pressed the right button to the command button of the folderband that you want. Then without leaving the pressed right button of the mouse, you pressed the left button of the mouse once, then rapidly you leave the right button of the mouse, and press again the the left button of the mouse, and THATS IT.


-------------------

SOLUTION FOR WINDOWS EXPLORER , WHEN YOU HAVE DETAILS PANE AT THE TOP.

If you have also via modifications set to your window the details pane at the top of the window, then you may have problems as if you touch the edge of the folderband it may not open. So for solving this you must do this : drag with your mouse the upper edge part of the details pane [the mouse pointer it changes shape when you touch the upper part of details pane from Normal Select to Vertical Resize ], for making the details pane take its biggest height [to be as large as should be, becarefull this is very important for work this modification]. Now before touch between the lower part of the details pane and the main window area, press right clik to your mouse and hold it all the time. When the mouse is to the position accurate between the details pane and the main windows area press also left clik. Now you will see the foldrerband appears at the top of the details pane so: with both pressed left and right clik you drag your mouse to the folderbad. When you are over the folderband leave your left mouse clik button. Drag your mouse to the command button you want . Then without leaving the pressed right button of the mouse, you pressed the left button of the mouse once, then rapidly you leave the right button of the mouse, and press again the the left button of the mouse, and THATS IT.

I know you may think its difficult, but if you work in action you learn it very quiqly.

--------------

SOLUTION FOR WINDOWS EXPLORER , LIBRARY WINDOW STYLE + HOW MAKING ENABLE THE 'INSERT BUTTON' OF LIBRARY PANE WORK.

+ FOLDERBAND ON A LIBRARY WINDOW.

I will add my answer to the comment ka-la asked about the behaviour of the code on window with library pane, so i add my respond here for sharing my answer:

'' ... so : if for example we make a new library, we open the folder of the new empty library, inside we see a vertical gradient color [light blue to the top, white to the bootom]on the main windows area, a button that is called 'include a folder' , ok? if you touch it [mouse over] then all the library area 'flickers up and down' so in action can not work the button, but the fact is that is when you touch the new library gradient color area folderband appears, so we can open it , selecting right clik again [when we are on the library area] drag with right clik pressed to the opened folder band, pressed the button to the command button of the folderband that you want. Then without leaving the pressed right button of the mouse, you pressed the left button of the mouse once, then rapidly you leave the right button of the mouse, and press again the the left button of the mouse, and THATS IT.

Now the problem is how to insert new folders to our new Library folder area. My solution is simple : make right clik to your Titlebar at the top of your window, without leaving the right mouse pressed button, and draG IT TO the button says 'include a folder' then without leaving the pressed right button of the mouse, you pressed the left button of the mouse once, then rapidly you leave the right button of the mouse, and press again the the left button of the mouse, and THATS IT. ...''

--------------------

COMMENT

i know that the best solution will be if that up and down flicker that happened will be solved with adding code or replacing code parameters or modify registry etc, though i have given this solution which somehow works until a better will come.

-------
Image details
Image size
1280x930px 383.04 KB
Published:
Comments26
Join the community to add your comment. Already a deviant? Log In
mastermansachin's avatar
Thank you :)

That's very useful
very useful tip, thanx a lot..
chikydamzz's avatar
if theme classic ??

it same ??
iHackit's avatar
Great theme but I also have the flicker problem. I would rather the folderband not autohide at all so it could be functional. Do any of your themes have a shellstyle that doesn't autohide that i could use to replace the flickerin g shellstyles?
ZEUSosX's avatar
the themes having number III (FOR EXAMPLE : 24 Dion III) --> Visible folderband, so the shellstyle is made to them for having opened the folderband. also in my plants is to release some personal themes i use which the majority will be with opened folderband and only 1 in each kind with autohide,see [link] , so that will be more usefull for the majority of people. [i have always included some of them to my Appolon themes, [link] ]
--
the color of the text
how can i change the color of my commandbar ?
mamen2022's avatar
This theme and Style is awesom and folderband is realy anoying bug.. I hope that you can fix it ..
Jor1's avatar
Perfect. Ive been looking for this since i moved to 7 and stopped using your themes in Vista. Ty vm.
my99's avatar
For some reason on this theme [link] it's the only one it doesn't flicker it's has a nice smooth animation, unlike the rest. why is that?
ZEUSosX's avatar
i dont see that folderband is autohidding to the theme you mentioned. it is always opebed like aero.
my99's avatar
If you edit the UIFILE in that theme as you said here it's the only them where the folderband doesn't flicker. no problem, i just thought it might be worth mentioning.
SICK. I believe that centered HDD bar also made by modification. Great work :thumbsup: hope you can release the theme soon.
ZEUSosX's avatar
explore crashed [on past] when i tried to centered .[system reject the code for unknown reasons]
Michel8170's avatar
Thank you :)

That's very useful
ZEUSosX's avatar
thank you Michael for your comments and support.
I'm pretty sure alkhan stealed your work. don't be a chicken and release your themes!
You was first! dont be afraid!
ZEUSosX's avatar
ok, though my modifications made new problems on code, so i must solved them first.
thanks for your support.
Can you release zeusOSX soon?
ka-la's avatar
How well does this work on library pane?
ZEUSosX's avatar
so : if for example we make a new library, we open the folder of the new empty library, inside we see a vertical gradient color [light blue to the top, white to the bootom]on the main windows area, a button that is called 'include a folder' , ok? if you touch it [mouse over] then all the library area 'flickers up and down' so in action can not work the button, but the fact is that is when you touch the new library gradient color area folderband appears, so we can open it , selecting right clik again [when we are on the library area] drag with right clik pressed to the opened folder band, pressed the button to the command button of the folderband that you want. Then without leaving the pressed right button of the mouse, you pressed the left button of the mouse once, then rapidly you leave the right button of the mouse, and press again the the left button of the mouse, and THATS IT.

Now the problem is how to insert new folders to our new Library folder area. My solution is simple : make right clik to your Titlebar without leaving the right mouse pressed button, and draG IT TO the button says 'include a folder' then without leaving the pressed right button of the mouse, you pressed the left button of the mouse once, then rapidly you leave the right button of the mouse, and press again the the left button of the mouse, and THATS IT.
-------
but if you have new question, please tell me.
ka-la's avatar
ka-la's avatar
on the window with library pane*
Join the community to add your comment. Already a deviant? Log In