waldemar21214
Freshman Member
Posts: 94
OS: Windows 10
Theme: Classic
CPU: i5-12400f
RAM: 16 GB DDR4 3600mhz
GPU: PNY 3060TI
|
Post by waldemar21214 on Jan 6, 2024 10:28:43 GMT -8
This mod changes the appearance of the default explorer treeview (also known as navigation pane and/or folder pane), to make it look more like the one used before Vista. This is by far the easiest solution for anyone that wants a classic treeview, you no longer have to use patched XP or ReactOS dll files, commit registry hackery, or use AHK scripts that allow you to use the OpenShell button like it's supposed to. This mod does NOT replace your treeview root item with Desktop, like it was before Win7, nor is it the aim of it to do so. This mod relies on OpenShell Explorer to have it's setting set correctly - Vista style and Tree item spacing 0.
The mod has 8 settings: - Folder band text. 'default' will set a localized text sourced from shell32.dll, otherwise it's possible to set any other text.
- Disable/Enable drawing of the dotted lines.
- Enable/Disable Item Hot Tracking
- Enable/Disable Lines At Root style.
- Gradient Background - enable for accurate XP look.
- Enable/Disable drawing buttons. Disable this if you are not using Classic theme, otherwise keep it on.
- Use alternative color to draw dotted lines and +/- button frames. May look better on dark themes. It's recommended to use the Automatic mode.
- Horizontal and vertical offsets, expressed in pixels, for the X button.
Thanks to Cynosphere for contributing code to this mod.
Mod is available in the official Windhawk repository: linkScreenshot:
|
|
|
Post by anixx on Jan 6, 2024 12:08:18 GMT -8
You can easily replace the X button with usual window close button. It would not look like in Win2000 but will be 3D.
|
|
|
Post by anixx on Jan 6, 2024 12:13:43 GMT -8
For me, Explorer does not start when this mod is enabled. Perhaps, conflict with other mods.
|
|
waldemar21214
Freshman Member
Posts: 94
OS: Windows 10
Theme: Classic
CPU: i5-12400f
RAM: 16 GB DDR4 3600mhz
GPU: PNY 3060TI
|
Post by waldemar21214 on Jan 6, 2024 14:28:22 GMT -8
You can easily replace the X button with usual window close button. It would not look like in Win2000 but will be 3D. I will add a accurate 3D border that will closely emulate the original look, I have a plan on how to do it, I just wanted to release the mod quicker to gain some insights and bug reports from users What is shown in the Windhawk log? Is the mod initialized correctly? Currently, there are two error messages: "Failed to hook function CreateWindowExW" and "Failed to hook CNscTree methods". If either of those are shown, then the mod has not loaded properly and will not work. The latter is most likely caused by usage of a Windows version that does not have debug symbols available for download, such as windows 11 insider versions. I know that my mod may be incompatible with Aeroexplorer because they both hook the same functions and methods, but when I tested it it had not crashed, it just looked wrong. Some AHK script may also be causing problems. I wouldn't know because I don't use any AHK scripts.
When Explorer fails to start for you, do you see the Windhawk toolkit pop up on your screen? I mean that small window with several buttons like open windhawk, that is themed even if CTT is enabled.
|
|
johnnyghost
Freshman Member
Posts: 52
OS: Windows 11 23h2
CPU: Intel Core i7
RAM: 16gb
GPU: Geforce RTX 3070
|
Post by johnnyghost on Jan 6, 2024 14:56:28 GMT -8
I'm also having the same problem For me, the toolkit doesn't pop up, I'm not running AHK, I'm on Windows 11 21h2, and as for the log, this is what I got from the detailed debug log.
{Spoiler} 17:52:38.766 52444 explorer.exe [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::LoadedMod 17:52:38.766 52444 explorer.exe [WH] [LoadedMod::LoadedMod]: Windows 10.0.22000 17:52:38.766 52444 explorer.exe [WH] [LoadedMod::LoadedMod]: Windhawk v1.4.1 17:52:38.766 52444 explorer.exe [WH] [LoadedMod::LoadedMod]: Mod id: local@classic-explorer-treeview 17:52:38.766 52444 explorer.exe [WH] [LoadedMod::LoadedMod]: Mod version: 0.1 17:52:38.767 52444 explorer.exe [WH] [LoadedMod::LoadedMod]: Mod base address: 00007FFCF6600000 17:52:38.767 52444 explorer.exe [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::LoadedMod 17:52:38.767 52444 explorer.exe [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::Initialize 17:52:38.770 52444 explorer.exe [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::SetFunctionHook 17:52:38.770 52444 explorer.exe [WH] [LoadedMod::SetFunctionHook]: Target: 00007FFCFD158030 17:52:38.770 52444 explorer.exe [WH] [LoadedMod::SetFunctionHook]: Hook: 00007FFCF6601D30 17:52:38.770 52444 explorer.exe [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::SetFunctionHook 17:52:38.770 52444 explorer.exe [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::GetStringValue 17:52:38.770 52444 explorer.exe [WH] [LoadedMod::GetStringValue]: valueName: symbol-cache-explorer.exe 17:52:38.770 52444 explorer.exe [WH] [LoadedMod::GetStringValue]: value: 17:52:38.770 52444 explorer.exe [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::GetStringValue
|
|
|
Post by anixx on Jan 6, 2024 14:57:45 GMT -8
1. I do not see any popups.
2. The taskbar does not appear
3. I do not use Aerexplorer mod
4. I do not use any AHK scripts
5. I use Windows 11 22H2 (build 22000).
|
|
|
Post by anixx on Jan 6, 2024 15:30:27 GMT -8
For instance, resources
id:9045 id:9338 id:49916
in shell32.dll contain the word "Folders" in the local language.
id:31421 : "Navigation pane"
You can add a menu item with this string.
|
|
waldemar21214
Freshman Member
Posts: 94
OS: Windows 10
Theme: Classic
CPU: i5-12400f
RAM: 16 GB DDR4 3600mhz
GPU: PNY 3060TI
|
Post by waldemar21214 on Jan 6, 2024 15:37:08 GMT -8
Weird. The debug log doesn't seem to indicate any issues, at least to me. The fact that the mod compiles successfully for you guys doesn't help either. I'd rather have compiler errors to look through. I tested my mod on my main install and on a relatively fresh VM, both Win 10 19045 and it works well. Maybe there is some incompatibility with Win 11. But if you're using some other mod that uses symbols, like the Classic Taskbar mod and it works, then it means that debug symbols are available for your windows version, and my mod should work too Try removing the following code from Wh_ModInit:
if (!WindhawkUtils::HookSymbols(hExplorerFrame, hooks, 2)) { Wh_Log(L"Failed to hook CNscTree methods"); return FALSE; } This will remove one point of failure for the mod. But it's still weird, because there is error handling code which should take care of the problems and unitialize the mod, not break explorer
In any case, I may need to do a 11 install on a VM to see what's happening.
EDIT: If I understand correctly, explorer.exe does start but it fails to create any windows, such as the taskbar?
|
|
johnnyghost
Freshman Member
Posts: 52
OS: Windows 11 23h2
CPU: Intel Core i7
RAM: 16gb
GPU: Geforce RTX 3070
|
Post by johnnyghost on Jan 6, 2024 15:53:01 GMT -8
For me, explorer.exe is able to do the taskbar, it just can't load the actual Windows Explorer window. When it comes to the file picker menu though, the mod works perfectly there with no problem. However removing that code related to the failure to hook message seems to have fixed the problem.
|
|
waldemar21214
Freshman Member
Posts: 94
OS: Windows 10
Theme: Classic
CPU: i5-12400f
RAM: 16 GB DDR4 3600mhz
GPU: PNY 3060TI
|
Post by waldemar21214 on Jan 6, 2024 16:07:21 GMT -8
That's even weirder. So both of you are using the same Windows version, but you get different outcomes. Please list your installed Windhawk mods, maybe it'll give me a idea as to what's wrong. Honestly I have no clue now. I'll set up a Win11 VM to investigate these days. In the meantime I hope at least one person will report that it works perfectly
|
|
|
Post by anixx on Jan 6, 2024 16:31:53 GMT -8
I disabled the mod "32px icons" and your mod started to work. Re-enabled it, still, works.
|
|
|
Post by anixx on Jan 6, 2024 17:22:17 GMT -8
Still, Explorer does not restart.
|
|
johnnyghost
Freshman Member
Posts: 52
OS: Windows 11 23h2
CPU: Intel Core i7
RAM: 16gb
GPU: Geforce RTX 3070
|
Post by johnnyghost on Jan 6, 2024 18:04:11 GMT -8
The Mods I'm running are
Classic Explorer Toolbars Classic File Picker Classic Taskbar Fix Classic Theme Explorer Disable DWM Extended Frames Open/Save Dialog ClientEdge Windhawk load symbols self fix Classic Conhost Classic Desktop Icons Classic Menus Custom Shutdown Dialog DWM Ghost Mods Eradicate Immersive Menus Exokirer 32px Icons Fix Classic Theme Maximized Windows Message Box Fix No Run Icon Text Replace as well as of course Classic Explorer Treeview after removing that bit of code.
Also anixx is running a slightly newer version of Windows 11. (He's on 22h2 and I'm on 21h2)
|
|
|
Post by anixx on Jan 6, 2024 18:19:48 GMT -8
Also anixx is running a slightly newer version of Windows 11. (He's on 22h2 and I'm on 21h2) Are you sure you are not mistaken? I am on the first release version. Are you on beta or what?
|
|
johnnyghost
Freshman Member
Posts: 52
OS: Windows 11 23h2
CPU: Intel Core i7
RAM: 16gb
GPU: Geforce RTX 3070
|
Post by johnnyghost on Jan 6, 2024 19:00:33 GMT -8
My copy of Windows 11 says Version 21H2 (Build 22000.1880)
|
|
|
Post by anixx on Jan 6, 2024 21:12:04 GMT -8
Oh, it seems like it is my mistake. My also says so.
|
|
johnnyghost
Freshman Member
Posts: 52
OS: Windows 11 23h2
CPU: Intel Core i7
RAM: 16gb
GPU: Geforce RTX 3070
|
Post by johnnyghost on Jan 6, 2024 23:51:02 GMT -8
It's okay. It can be hard to keep track of the build numbers. Getting back on topic though, it is honestly impressive how a little addition can turn the Navigation Pane into an almost perfect copy of the Folder pane from the older versions of Windows.
|
|
waldemar21214
Freshman Member
Posts: 94
OS: Windows 10
Theme: Classic
CPU: i5-12400f
RAM: 16 GB DDR4 3600mhz
GPU: PNY 3060TI
|
Post by waldemar21214 on Jan 7, 2024 4:39:13 GMT -8
The Mods I'm running are Classic Explorer Toolbars ... Classic Theme Explorer ... Windhawk load symbols self fix Windhawk load symbols self fix was required for correct loading of 32 bit symbols on Windhawk 1.3X versions, but you're running version 1.4.1 which means that this mod is redundant, possibly even detrimental. You're also running two mods that do the same thing - Classic Explorer Toolbars and Classic Theme Explorer. Even though I made the first one, I have to admit the second is better, so just get rid of the first one and set the correct settings in the second one to achieve same effect.
I'll set up a VM later today to investigate. I didn't think I'd have to install Win11 in any way shape or form up until like 2029, or better yet ever, but here we are
|
|
johnnyghost
Freshman Member
Posts: 52
OS: Windows 11 23h2
CPU: Intel Core i7
RAM: 16gb
GPU: Geforce RTX 3070
|
Post by johnnyghost on Jan 7, 2024 5:08:48 GMT -8
Thanks for the heads up. I had just kept those ones on because I wanted to make sure everything worked properly.
|
|
waldemar21214
Freshman Member
Posts: 94
OS: Windows 10
Theme: Classic
CPU: i5-12400f
RAM: 16 GB DDR4 3600mhz
GPU: PNY 3060TI
|
Post by waldemar21214 on Jan 7, 2024 6:24:25 GMT -8
I just did a breakneck speed classic theme Win11 21H2 install. And, well... Other than some minor graphical issues occuring more frequently with the treeview, I experience no issues {Spoiler} I installed the latest patched Openshell version, Explorerpatcher, ClassicExplorer.dll for the address bar, CTT, and the following Windhawk mods: - Classic Treeview
- Classic Taskbar Fix
- Classic Theme Explorer
- Classic Desktop Icons
- DWM Unextend frames
- Eradicate immersive menus
|
|