It is currently Thu Jun 07, 2018 9:01 pm

All times are UTC - 8 hours [ DST ]


Forum rules


Please, keep discussions on topic and in the right forum. The start menu topics go into the Classic Start Menu forum, etc. This makes it easier for people to locate topics they are looking for.
If you get a satisfactory response to your question, please mark the topic as "solved". Click the green √ button in the bottom-right of the post.



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Concerning FFlags
PostPosted: Sat Sep 17, 2016 2:08 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 224
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Concerning FFlags
PostPosted: Sat Sep 17, 2016 11:08 pm 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
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.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Concerning FFlags
PostPosted: Sun Sep 18, 2016 3:24 am 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 224
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Concerning FFlags
PostPosted: Sun Sep 18, 2016 6:10 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 02, 2013 11:38 pm
Posts: 5331
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Concerning FFlags
PostPosted: Sun Sep 18, 2016 6:16 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
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.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Concerning FFlags
PostPosted: Sun Sep 18, 2016 9:42 pm 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 224
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%
}

}

}


Top
 Profile  
Reply with quote  
 Post subject: Re: Concerning FFlags
PostPosted: Mon Sep 19, 2016 12:31 am 
Offline
User avatar

Joined: Thu Jan 03, 2013 12:38 am
Posts: 5341
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.

_________________
Links to some general topics:

Compare Start Menus

Read the Search box usage guide.

I am a Windows enthusiast and did Classic Shell's testing and usability/UX feedback.


Top
 Profile  
Reply with quote  
 Post subject: Re: Concerning FFlags
PostPosted: Mon Sep 19, 2016 2:35 am 
Offline

Joined: Sat Oct 05, 2013 4:34 am
Posts: 224
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 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:  
Powered by phpBB® Forum Software © phpBB Group, Almsamim WYSIWYG Classic Shell © 2010-2016, Ivo Beltchev.
All right reserved.