It is currently Fri Apr 19, 2024 2:02 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 20 posts ] 
Author Message
PostPosted: Fri Nov 07, 2014 3:24 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
Is it possible to include a feature that would implement this new fascinating find?


There is a great open-source utility Zero Dump but unfortunately it is abandoned. With this utility it is possible to modify control styles of the running windows. Particularly, it is possible to make the FolderView in Windows Explorer in Vista+ to appear like in Classic Windows, with the 3D border around:



This can be done by setting the property "Client Edge" in the extended style tab in ZeroDump. This sets the control style to the value 56001348.

Unfortunately the utility can do this only with one Explorer window and every time the procedure should be repeated manually. It would be great if Classic Shell could do the same every time it loads.







Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 23, 2014 4:36 am 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
Well this is an utility that does the job:


Attachments:
borderfix2.zip [548.2 KiB]
Downloaded 819 times


Last edited by Anixx on Tue Dec 08, 2015 5:14 pm, edited 2 times in total.
Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 24, 2014 6:58 am 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
The program works only if the option "open folders in separate windows" is active.


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 03, 2014 6:56 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
If you open folders in the same windows, use this:


Attachments:
borderfix_onewindow.zip [548.22 KiB]
Downloaded 928 times


Last edited by Anixx on Mon Oct 05, 2015 9:46 pm, edited 1 time in total.
Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 03, 2015 9:50 am 
Offline
User avatar

Joined: Sat Oct 03, 2015 8:52 am
Posts: 4
Location: Maryland, USA
I've been wanting a fix for this forever. I found this after looking through your other posts on this forum after seeing your screenshot in the AHK Script to remove Address bar thread which had this fixed. It doesn't seem to work for me though - running borderfix.exe (shows in task manager) and opening a folder. I do have it set to use multiple windows, and I tried borderfix_onewindow (after killing the borderfix task) just in case. I even experimented with the old Zero Dump utility mentioned in your first post, and it too doesn't seem to work. Do you have any ideas of what I could be doing wrong? I'm using Windows 7 x64, and the address bar remover tool works fine.


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 03, 2015 1:24 pm 
Offline
User avatar

Joined: Sun Jan 06, 2013 1:44 pm
Posts: 1996
Are you refering to Anixx's ahk script? or the one in the first post?
The first one was abandoned, but windows 7 is old enough that it might still be compatible.

Also I dont know for sure, but displayfusion (25$) does have this feature, among others, for windows 8/8.1 (and im not sure if it applies to windows 7, but there is a free trial to find out) Not that I (or likely you) would pay 25$ for the fix your looking for :P


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 03, 2015 11:50 pm 
Offline
User avatar

Joined: Sat Oct 03, 2015 8:52 am
Posts: 4
Location: Maryland, USA
I'm referring to Anixx's script, which is what I'd be willing to leave running, but I did try the other program in the first post to see if it would work when the script didn't.

EDIT (yes, nearly twelve whole hours later) - Anixx, I'm also curious as to how you have searching set up. I realized there is a problem if I hide the search box and/or the address bar.


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 05, 2015 9:01 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
Jcee wrote:
Are you refering to Anixx's ahk script? or the one in the first post?
The first one was abandoned, but windows 7 is old enough that it might still be compatible.

Sorry, but what is abandoned?


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 05, 2015 9:04 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
This script combines the two tasks: removes the address bar and adds the 3D border. Note though that it works properly only when "open each folder in separate window" option is enabled.


Attachments:
borderfix_combine.zip [548.36 KiB]
Downloaded 883 times
Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 05, 2015 9:26 pm 
Offline
User avatar

Joined: Sun Jan 06, 2013 1:44 pm
Posts: 1996
Zero dump, it said somewhere that the developer is no-longer working on it, so its likely not to work on win 10. though it should on 7


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 05, 2015 9:38 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
Jcee wrote:
Zero dump, it said somewhere that the developer is no-longer working on it, so its likely not to work on win 10. though it should on 7

It works on Win8.1. It should work on Win10 as well.


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 05, 2015 9:40 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
hitokage wrote:
I've been wanting a fix for this forever. I found this after looking through your other posts on this forum after seeing your screenshot in the AHK Script to remove Address bar thread which had this fixed. It doesn't seem to work for me though - running borderfix.exe (shows in task manager) and opening a folder. I do have it set to use multiple windows, and I tried borderfix_onewindow (after killing the borderfix task) just in case. I even experimented with the old Zero Dump utility mentioned in your first post, and it too doesn't seem to work. Do you have any ideas of what I could be doing wrong? I'm using Windows 7 x64, and the address bar remover tool works fine.


My bad! I possibly failed to mention that in this older version it is setting the border referring to the class of the element rather than caption. The class I was using (and use now) in ListView rather than IconView. So this version does not work with the IconView class which is used in Win7+ by default.

For this version to work one has to download utility "Folder Options X" and check "Enable Icon Reordering". This option will make the appearance of the folders even more classic, because it uses the widget ListView which has been used for this purpose from Windows95 till Vista. Alternatively it can be changed via registry (but registry method is less reliable).

But in any case, I have updated the script to work win any widget.


Last edited by Anixx on Mon Oct 05, 2015 9:50 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 05, 2015 9:49 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
hitokage wrote:
EDIT (yes, nearly twelve whole hours later) - Anixx, I'm also curious as to how you have searching set up. I realized there is a problem if I hide the search box and/or the address bar.


You can press Ctrl+F and type the things you want to search. The words will appear in the caption of the window. But I usually use the search embeeded in Classic Shell.


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 06, 2015 9:57 am 
Offline
User avatar

Joined: Sat Oct 03, 2015 8:52 am
Posts: 4
Location: Maryland, USA
Anixx wrote:
But in any case, I have updated the script to work win any widget.
The new version still doesn't work for me. If I use Folder Option X with the setting you mentioned, both the old and new version work fine.

Anixx wrote:
You can press Ctrl+F and type the things you want to search. The words will appear in the caption of the window. But I usually use the search embeeded in Classic Shell.
I think I'm going to be looking at some of the third party search tools. Most of the time when I'm running a search I know roughly where something is, and liked being able to limit the search to the folder I'm in along with any subfolders.


Having to use extra utilities to restore things to how the were before is frustrating. This is why I was holding off from moving to Windows 7 - at least XP let you choose. This is also why I switched away from Firefox to Pale Moon. I am not a fan of the current trend of supposed "minimalism" UI design.


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 06, 2015 5:46 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
Quote:
I think I'm going to be looking at some of the third party search tools. Most of the time when I'm running a search I know roughly where something is, and liked being able to limit the search to the folder I'm in along with any subfolders.

If you find a good utility, please share it.

Quote:
Having to use extra utilities to restore things to how the were before is frustrating. This is why I was holding off from moving to Windows 7


I use about 10 third-party utilities to make Win8 to look classic. But actually the Address Bar remover works better under Win8 with classic theme than Win7 because DWM make the moment when the address bar disappears invisible for the most time. In Win8 you see it in the process less often than in Win7.

Quote:
This is also why I switched away from Firefox to Pale Moon.


Do you know there is a similar 3D border fix for Firefox? Add something like this to Stylish:

Code:
browser {
padding:1px !important;
}

.browserStack {
border-top: 0px solid ThreeDShadow !important;
border-left: 1px solid ThreeDShadow !important;
border-right: 1px solid ThreeDHighlight !important;
border-bottom: 1px solid ThreeDHighlight !important;
}

.browserStack: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;
}


Last edited by Anixx on Fri Dec 04, 2015 9:23 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 07, 2015 12:52 am 
Offline
User avatar

Joined: Sat Oct 03, 2015 8:52 am
Posts: 4
Location: Maryland, USA
Anixx wrote:
Do you know there is a similar 3D border fix for Firefox? Add something like this to Stylish:
No I didn't - I be taking a look at that. Although it never really bothered me in Firefox (or Pale Moon) for some reason - it might be because of the (full/complete) theme I've been using.


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 19, 2015 3:48 pm 
Offline

Joined: Fri Oct 18, 2013 9:03 pm
Posts: 116
Anixx wrote:
Is it possible to include a feature that would implement this new fascinating find?


There is a great open-source utility Zero Dump but unfortunately it is abandoned. With this utility it is possible to modify control styles of the running windows. Particularly, it is possible to make the FolderView in Windows Explorer in Vista+ to appear like in Classic Windows, with the 3D border around:



This can be done by setting the property "Client Edge" in the extended style tab in ZeroDump. This sets the control style to the value 56001348.

Unfortunately the utility can do this only with one Explorer window and every time the procedure should be repeated manually. It would be great if Classic Shell could do the same every time it loads.








I found a good search utility a few years ago called 'locate32' it looks like the search utility in windows 98, and it finds everything fairly fast after indexing everything .

Ill try out your script for zero dump, I was searching online to see if I could find more information about zero dump, and I found this post.

Edit: Using zero dump on windows 10 and turning the client edge setting on, doesn't seem to do anything. Your .exe's that you included didn't seem to popup on my system either. I turned avast off so I could run them, but that didn't seem to work.


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 28, 2015 4:28 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
Quote:
Your .exe's that you included didn't seem to popup on my system either. I turned avast off so I could run them, but that didn't seem to work.


Follow the advice above, install Folder Options X, check "Enable Icon Reordering" and then run my script.


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 08, 2015 2:28 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
This is an updated script. It supports navigational mode browsing (open each folder in separate window) and the navigational tree. It also removes the address bar. Remember that you would need to use the Folder Options X utility as described above for the fixed borders to work. The executable for the script is in the archive.



Enjoy.

Code:
#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 or wParam = 6) ; HSHELL_WINDOWCREATED := 1
{

WinGetClass, WinClass, ahk_id %lParam%
if (WinClass = "CabinetWClass") {

;ControlGetPos,x,,w,,DirectUIHWND2, ahk_id %lParam%
;ControlMove, ShellTabWindowClass1,x-1,,w+1,, ahk_id %lParam%

Control, ExStyle, +0x200, FolderView, ahk_id %lParam%
Control, ExStyle, +0x200, SysTreeView321, ahk_id %lParam%

If (wParam = 6){
ControlGetPos,,,,h, ShellTabWindowClass1, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,,,,h+1, ahk_id %lParam%
ControlMove, ShellTabWindowClass1,,,,h, ahk_id %lParam%
}

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%

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%

;here
}

if (WinClass = "NotebookFrame") {
Control, ExStyle, ^0x200, NotebookContent1, ahk_id %lParam%
WinGetPos, , , , h, ahk_id %lParam%
WinMove, ahk_id %lParam%,,,,,h-1
;WinMove, ahk_id %lParam%,,,,,h

}

}

}


Attachments:
combine.zip [548.38 KiB]
Downloaded 804 times
Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 08, 2015 5:16 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 229
I have updated also the download file in the beginnig of the topic. This script does not remove the address bar, only fixes the border:

Code:
#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%

}

}
}


Attachments:
borderfix2.zip [548.2 KiB]
Downloaded 771 times
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 192 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.