|
Post by anixx on Jan 30, 2024 2:53:12 GMT -8
This is a small mod that enables SysListView32 in Explorer. // ==WindhawkMod== // @id syslistview32-enabler // @name Enable Syslistview32 // @description Enables SysListView32 folder layout in Explorer // @version 0.1 // @author anixx // @include explorer.exe // ==/WindhawkMod==
#include <windhawk_utils.h>
#ifdef _WIN64 #define CALCON __cdecl #define SCALCON L"__cdecl" #else #define CALCON __thiscall #define SCALCON L"__thiscall" #endif
/* SysListView32 */ typedef BOOL (* CALCON CDefView__UseItemsView_t)(void *); CDefView__UseItemsView_t CDefView__UseItemsView_orig; BOOL CALCON CDefView__UseItemsView_hook(void *pThis) {return FALSE;}
BOOL Wh_ModInit(void) { HMODULE hShell32 = LoadLibraryW(L"shell32.dll"); if (!hShell32) { Wh_Log(L"Failed to load shell32.dll"); return FALSE; }
WindhawkUtils::SYMBOL_HOOK hooks[] = {
{ { L"private: int " SCALCON L" CDefView::_UseItemsView(void)" }, &CDefView__UseItemsView_orig, CDefView__UseItemsView_hook, false } };
if (!HookSymbols(hShell32, hooks, ARRAYSIZE(hooks))) { Wh_Log(L"Failed to hook one or more symbol functions"); return FALSE; } return TRUE; }
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 20, 2024 13:40:27 GMT -8
This is great but I appear to have a small issue.
I noticed after installing mods in Windhawk that the explorer was a lot slower. There is a perceptible lag when opening a drive or a folder. I tracked it down to your mod. When I turn it off the lag is gone. I really like this so I guess I'll just have to live with the sluggish behaviour.
|
|
|
Post by anixx on Jul 20, 2024 16:27:19 GMT -8
This is great but I appear to have a small issue. I noticed after installing mods in Windhawk that the explorer was a lot slower. There is a perceptible lag when opening a drive or a folder. I tracked it down to your mod. When I turn it off the lag is gone. I really like this so I guess I'll just have to live with the sluggish behaviour. You can enable SysListView32 via registry or using ExplorerPatcher.
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 20, 2024 16:51:07 GMT -8
This is great but I appear to have a small issue. I noticed after installing mods in Windhawk that the explorer was a lot slower. There is a perceptible lag when opening a drive or a folder. I tracked it down to your mod. When I turn it off the lag is gone. I really like this so I guess I'll just have to live with the sluggish behaviour. You can enable SysListView32 via registry or using ExplorerPatcher. Would that be faster? I don't understand how something so simple would slow things down.
|
|
Jevil7452
Regular Member
Posts: 431
OS: Windows Vista Enterprise (6.0.6003)/Windows 7 Enterprise (6.1.7601)
Theme: Windows Aero by Microsoft Corporation (on both)
CPU: Intel Core i7-3770k
RAM: 32GB (4x8GB DDR3)
GPU: NVIDIA GeForce GTX 980 Ti + Intel(R) HD Graphics 4000
Computer Make/Model: OEM0
|
Post by Jevil7452 on Jul 20, 2024 23:20:57 GMT -8
Yes, these would be faster. Windhawk is a hook, while deleting 2 registry keys will make it gone for good. To do this, you'll simply need to open up Regedit, search "ItemsView", take ownership of the key then delete/rename it. Do it for all occurences so the effect takes place across all apps.
|
|
|
Post by anixx on Jul 21, 2024 5:55:58 GMT -8
|
|
|
Post by anixx on Jul 21, 2024 5:57:08 GMT -8
If it is still slow, this means you get slowed down by thumbnails generator or another shell extension.
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 21, 2024 7:34:40 GMT -8
Hi I tried that and it is definitely still slower. So I dunno if it's a bit faster than the Windhawk mod or the same. Perhaps SysListView32 is just a slower way of doing things and that's why Microsoft abandoned it? I'll need to check my virtual XP machine and see how it is in there.
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 21, 2024 7:37:02 GMT -8
In XP on my virtual machine Explorer is nippy so there must be something slowing SysListView32 down.
|
|
|
Post by anixx on Jul 21, 2024 7:55:43 GMT -8
In XP on my virtual machine Explorer is nippy so there must be something slowing SysListView32 down. Try disabling shell extensions using ShellExView utility. www.nirsoft.net/utils/shexview.html
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 21, 2024 11:17:35 GMT -8
Disabled everything that that software listed and the delay remains.
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 21, 2024 15:34:48 GMT -8
Also noticed that even thought I can move files around freely in a folder like I could in XP it is not remembered. Closing a folder and reopening and it all goes back to Windows default ordering.
|
|
|
Post by anixx on Jul 22, 2024 4:26:47 GMT -8
Also noticed that even thought I can move files around freely in a folder like I could in XP it is not remembered. Closing a folder and reopening and it all goes back to Windows default ordering. To keep ordering you need to enable desktop mode in FFLAGS.
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 22, 2024 8:57:36 GMT -8
|
|
|
Post by anixx on Jul 22, 2024 10:12:43 GMT -8
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 22, 2024 12:41:58 GMT -8
Hmm. Trying to figure out how to do it but in that thread you state, 'The disadvantage is sorting mode is not remembered ' and in another thread you state in Desktop mode '* Icon rearrangement is not remembered.'
|
|
|
Post by anixx on Jul 22, 2024 13:02:41 GMT -8
Hmm. Trying to figure out how to do it but in that thread you state, 'The disadvantage is sorting mode is not remembered ' and in another thread you state in Desktop mode '* Icon rearrangement is not remembered.' Maybe I forgot this. Then it should be remembered in usual SysListView32 mode... Try disabling auto-sorting.
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 22, 2024 13:20:04 GMT -8
Hmm pretty sure I done that. Unchecked align to grid and autosort. Perhaps the feature to remember has been removed in stupid Windows 11?
|
|
|
Post by anixx on Jul 22, 2024 16:19:26 GMT -8
Hmm pretty sure I done that. Unchecked align to grid and autosort. Perhaps the feature to remember has been removed in stupid Windows 11? I have just tried in "Computer" folder. Moved the Drive C from first position to the middle. Closed the folder and opened again. Now it is on the third position, not 1st, nor 2nd. So, it is remembered, but wrongly. I think, it has to do with 32px icons mod: the system thinks the icons are 48px and calculates the positions according to this. Maybe, another cause, but the thing is, it is remembered but wrongly.
|
|
malcolm
Freshman Member
Posts: 81
OS: Windows 8.1 Pro
Theme: XP Luna 8.1 (My Own)
CPU: AMD Ryzen 9 5900X
RAM: 32GB
GPU: Nvidia GTX 1080Ti
Computer Make/Model: My Own
|
Post by malcolm on Jul 22, 2024 18:25:52 GMT -8
*edit* I just realised that I totally misunderstood the 32px icon mod. I thought it was to change the minimum icon size from 48px to 32px but I see it's not.
So I can enable the desktop mode without altering the icons and it should remember? I am quite new to all this so I still don't fully understand everything yet.
|
|