Removing the Navigation Bar from Windows Explorer
Oct 13, 2016 18:19:23 GMT -8
Post by anixx on Oct 13, 2016 18:19:23 GMT -8
Since Windows Vista, Microsoft does not provide convenient means to remove or hide the Nazigation Bar. The Navigation Bar is the bar that includes the navigation buttons (forward, back), the address bar and the search bar.
Here are some methods of removing the navigation bar.
1. If you are NOT using the Classic theme.
Open the .msstyles file for the theme you are using with Windows Style Builder.
Now set
Save the theme.
2. If you are using the Classic theme.
This is the AHK script that would remove the address bar:
Here is the exe:
www.classicshell.net/forum/download/file.php?id=2709
3. To remove the navigation bar from open/save dialogs, reneme the following keys in the registry {056440FD-8568-48e7-A632-72157243B55B} (it occurs in the registry twice)
You would need to take ownership of the key beforehand.
Here are some methods of removing the navigation bar.
1. If you are NOT using the Classic theme.
Open the .msstyles file for the theme you are using with Windows Style Builder.
Now set
Toolbars, Headers and Rebar> Rebar> NavBar> Basic> Base> Band - CONTENTMARGINS:MARGIN (0, 0, 0, -33)
Save the theme.
2. If you are using the Classic theme.
This is the AHK script that would remove the address bar:
#NoTrayIcon
#NoEnv
Gui +LastFound
hWnd := WinExist()
SetControlDelay, -1
SetBatchLines -1
DllCall( "RegisterShellHookWindow", UInt,hWnd )
MsgNum := DllCall( "RegisterWindowMessage", Str,"SHELLHOOK" )
OnMessage( MsgNum, "ShellMessage" )
Return
ShellMessage(wParam,lParam) {
If (wParam = 1 ) ; HSHELL_WINDOWCREATED := 1
{
WinGetClass, WinClass, ahk_id %lParam%
if (WinClass = "CabinetWClass") {
ControlGetPos, ,y1,,ha,ReBarWindow321, ahk_id %lParam%
SendMessage, 0x0082,,,ReBarWindow321, ahk_id %lParam%
Control, Hide,, WorkerW1, ahk_id %lParam%
Control, Hide,, ReBarWindow321, ahk_id %lParam%
ControlGetPos,,y2,,h1,ShellTabWindowClass1, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,, y1,,y2-y1+h1, ahk_id %lParam%
ControlMove, ReBarWindow321,,,,0, ahk_id %lParam%
WinSet, Redraw,, ahk_id %lParam%
Sleep, 100
SendMessage, 0x0082,,,ReBarWindow321, ahk_id %lParam%
Control, Hide,, WorkerW1, ahk_id %lParam%
Control, Hide,, ReBarWindow321, ahk_id %lParam%
ControlGetPos,,y2,,h1,ShellTabWindowClass1, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,, y1,,y2-y1+h1, ahk_id %lParam%
ControlMove, ReBarWindow321,,,,0, ahk_id %lParam%
WinSet, Redraw,, ahk_id %lParam%
Sleep, 100
SendMessage, 0x0082,,,ReBarWindow321, ahk_id %lParam%
Control, Hide,, WorkerW1, ahk_id %lParam%
Control, Hide,, ReBarWindow321, ahk_id %lParam%
ControlGetPos,,y2,,h1,ShellTabWindowClass1, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,, y1,,y2-y1+h1, ahk_id %lParam%
ControlMove, ReBarWindow321,,,,0, ahk_id %lParam%
WinSet, Redraw,, ahk_id %lParam%
Sleep, 100
SendMessage, 0x0082,,,ReBarWindow321, ahk_id %lParam%
Control, Hide,, WorkerW1, ahk_id %lParam%
Control, Hide,, ReBarWindow321, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,, y1,,y2-y1+h1, ahk_id %lParam%
ControlMove, ReBarWindow321,,,,0, ahk_id %lParam%
WinSet, Redraw,, ahk_id %lParam%
}
}
}
Here is the exe:
www.classicshell.net/forum/download/file.php?id=2709
3. To remove the navigation bar from open/save dialogs, reneme the following keys in the registry {056440FD-8568-48e7-A632-72157243B55B} (it occurs in the registry twice)
You would need to take ownership of the key beforehand.