Classic Shell
http://www.classicshell.net/forum/

Concerning FFlags
http://www.classicshell.net/forum/viewtopic.php?f=8&t=6847
Page 1 of 1

Author:  Anixx [ Sat Sep 17, 2016 2:08 pm ]
Post subject:  Concerning FFlags

Classic Explorer has a feature "Show sorting headers in all view modes". I think it is done via modifying FFlags key in the registry at runtime (if I am wrong please correct me).

If it is so, then more interesting things can be done with that key. Particularly, the utility Folder Options X allows the following features through modifying FFlags:

* Disable full row select (a classical mode)

* Column headers in all views (exactly what Classic shell already can do)

* Enable icon reordering. It changes the used widget from IconView to ListView, which was used in previous Windows versions Win95-Vista. This mode makes icons area more compact and classical.

* Keep focus on file list view (do not know what is it).

But we with guys from WinClassic forum have found one more mode that is not included in Folder Options X.
Particularly, if to set FFlags to FWF_DESKTOP (0x20), the desktop mode gets enabled (the same as on the desktop but in folders!).
Particularly, one can set the icon size exactly to 32px (or even smaller), while still having labels below! This make a lot of icons look much better.

It would be great if Classic Shell included all these options, especially forcing ListView widget and Desktop mode.

But even better would be if it were possible to set a custom FFlags through Classic Explorer settings.

Author:  Gaurav [ Sat Sep 17, 2016 11:08 pm ]
Post subject:  Re: Concerning FFlags

According to what Ivo told me, Classic Shell's Explorer component does it programmatically without any reg keys. Folder Options X also does it programmatically? If you do it via Registry keys, it sometimes messes up the view of other folder templates.

Author:  Anixx [ Sun Sep 18, 2016 3:24 am ]
Post subject:  Re: Concerning FFlags

Gaurav wrote:
According to what Ivo told me, Classic Shell's Explorer component does it programmatically without any reg keys. Folder Options X also does it programmatically? If you do it via Registry keys, it sometimes messes up the view of other folder templates.


Folder Options X actually does it via registry keys. I browsed its source code.

Author:  Ivo [ Sun Sep 18, 2016 6:10 am ]
Post subject:  Re: Concerning FFlags

Correct, Classic Shell does not touch the registry to achieve most of its features. The one exception are the new settings to show hidden files and the file extensions.

Author:  Gaurav [ Sun Sep 18, 2016 6:16 am ]
Post subject:  Re: Concerning FFlags

I tried FWF_DESKTOP. It seems to break the scroll bar in Explorer and the "List View" turns into "Small Icons view" - so this change is not without unwanted side effects.

Author:  Anixx [ Sun Sep 18, 2016 9:42 pm ]
Post subject:  Re: Concerning FFlags

Gaurav wrote:
I tried FWF_DESKTOP. It seems to break the scroll bar in Explorer and the "List View" turns into "Small Icons view" - so this change is not without unwanted side effects.


Yes, the icons get aligned vertically. But this can be fixed by removing certain attributes from ListView control, for instance this AHK script removes vertical align and adds a scrollbar:

Code:
Control, Style, -0x2800, SysListView321, ahk_id %lParam%


I do not understand what you mean under "changes to the small icons view".

This is the full version of the script that would fix the issues when FWF_DESKTOP is enabled:

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") {

Control, Style, -0x2800, FolderView, ahk_id %lParam%
Control, Style, -0x2800, SysListView321, ahk_id %lParam%
}

}

}

Author:  Gaurav [ Mon Sep 19, 2016 12:31 am ]
Post subject:  Re: Concerning FFlags

The tweak switches the Explorer control from ItemsView to SysListView32. In the older control, there is one less View. Tiles View becomes Extended Tiles (similar to Content View of the newer control), the List View also gets full row selection like the Details view, and there is no regular Tiles View. The spacing is also narrower in more compact views. And it requires running the AHK script to fix some of the side effects but not all.

Author:  Anixx [ Mon Sep 19, 2016 2:35 am ]
Post subject:  Re: Concerning FFlags

Gaurav wrote:
The tweak switches the Explorer control from ItemsView to SysListView32. In the older control, there is one less View. Tiles View becomes Extended Tiles (similar to Content View of the newer control), the List View also gets full row selection like the Details view, and there is no regular Tiles View. The spacing is also narrower in more compact views. And it requires running the AHK script to fix some of the side effects but not all.


Folder Options X allows to use SysListView32 without desktop mode. It does not require AHK. What Desktop Mode is about is that it allows 32px icons, which makes icons look sharper. Without it one simply could use Folder Options X and change the control to SysListView32.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/