Windows Explorer FolderView Bordder/ClientEdge
May 5, 2016 13:35:11 GMT -8
Post by R.O.B. on May 5, 2016 13:35:11 GMT -8
So if you want to give your explorer a bit of that extra 'classic' feel, there are a couple of methods to restore the 3D depressed border seen in the FolderView up until Windows Vista. Here's what it ends up looking like:
In my opinion this minor cosmetic change makes explorer windows look a lot sharper.
So here are the methods you can use to restore this:
anixx 's AutoHotKey script:
borderfix.zip (548.19 KB)
Pros:
Client Edge in every folder
Easy to use/install
Cons:
Client edge must be re-created each time a folder is opened in the same window, creating a rather annoying resizing effect.
IBMPad's WndStyles DLLs:
Download
Pros:
Works in open/save dialogs.
Seems to work better for folders opening in the same window.
Cons:
Sometimes client edge will disappear when navigating folders quickly
Sometimes it doesn't work in some folders (usually in This PC/My Computer)
Client Edge on the desktop.
Client edge must be re-created each time a folder is opened in the same window, creating a rather annoying resizing effect.
----------------
Asside from Explorer, it's possible to add a ClientEdge to most Firefox-based web browsers.
ClientEdge for Firefox:
Stylish CSS style for Firefox (v1):
Stylish CSS style for Firefox (v2):
Stylish CSS style for Firefox (v3) and PaleMoon:
NOTE: If you only want a ClientEdge when using the Windows Classic theme, simply enclose any of the CSS styles in this:
Example:
ClientEdge for K-Meleon:
Add to prefs.js in the profile folder:
Ultimately, there is currently no perfect way to display the ClientEdge by default, but in time, there just may be.
In my opinion this minor cosmetic change makes explorer windows look a lot sharper.
So here are the methods you can use to restore this:
anixx 's AutoHotKey script:
borderfix.zip (548.19 KB)
#NoTrayIcon
#NoEnv
Gui +LastFound
hWnd := WinExist()
SetControlDelay, -1
DllCall( "RegisterShellHookWindow", UInt,hWnd )
MsgNum := DllCall( "RegisterWindowMessage", Str,"SHELLHOOK" )
OnMessage( MsgNum, "ShellMessage" )
Return
ShellMessage(wParam,lParam) {
If (wParam = 1 or wParam = 6) ; HSHELL_WINDOWCREATED := 1
{
WinGetClass, WinClass, ahk_id %lParam%
if (WinClass = "CabinetWClass") {
Control, ExStyle, +0x200, SysTreeView321, ahk_id %lParam%
Control, ExStyle, +0x200, FolderView, ahk_id %lParam%
ControlGetPos,,,,h, ShellTabWindowClass1, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,,,,h+1, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,,,,h, ahk_id %lParam%
}
}
}
Pros:
Client Edge in every folder
Easy to use/install
Cons:
Client edge must be re-created each time a folder is opened in the same window, creating a rather annoying resizing effect.
IBMPad's WndStyles DLLs:
Download
Pros:
Works in open/save dialogs.
Cons:
Sometimes client edge will disappear when navigating folders quickly
Sometimes it doesn't work in some folders (usually in This PC/My Computer)
Client Edge on the desktop.
Client edge must be re-created each time a folder is opened in the same window, creating a rather annoying resizing effect.
----------------
Asside from Explorer, it's possible to add a ClientEdge to most Firefox-based web browsers.
ClientEdge for Firefox:
Stylish CSS style for Firefox (v1):
.browserContainer {
-moz-appearance: listbox !important;
}
Stylish CSS style for Firefox (v2):
.browserContainer {
border-top: 2px solid !important;
border-bottom: 2px solid !important;
border-left: 2px solid !important;
border-right: 2px solid !important;
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow !important;
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow !important;
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow !important;
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow !important;
}
Stylish CSS style for Firefox (v3) and PaleMoon:
browser {
padding:1px !important;
}
.browserContainer {
border-top: 0px solid ThreeDShadow !important;
border-left: 1px solid ThreeDShadow !important;
border-right: 1px solid ThreeDHighlight !important;
border-bottom: 1px solid ThreeDHighlight !important;
}
.browserContainer:before {
content:"\a0" !important;
display:block !important;
padding:2px 0 !important;
line-height:1px !important;
border-top:1px solid ThreeDDarkShadow !important;
border-left:1px solid ThreeDDarkShadow !important;
border-right:1px solid ThreeDLightShadow !important;
border-bottom:1px solid ThreeDLightShadow !important;
}
NOTE: If you only want a ClientEdge when using the Windows Classic theme, simply enclose any of the CSS styles in this:
@media all and (-moz-windows-classic) {
}
Example:
@media all and (-moz-windows-classic) {
.browserContainer {
border-top: 2px solid !important;
border-bottom: 2px solid !important;
border-left: 2px solid !important;
border-right: 2px solid !important;
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow !important;
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow !important;
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow !important;
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow !important;
}
}
ClientEdge for K-Meleon:
Add to prefs.js in the profile folder:
user_pref("kmeleon.display.clientEdge", true);
Ultimately, there is currently no perfect way to display the ClientEdge by default, but in time, there just may be.