Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is it possible to have icons of 32px and their name BELOW?

05 Jan 2016   #41
Anixx

Windows 7
 
 

This in AHK removes align left and adds the scrollbar:

Code:
Control, Style, -0x2800, FolderView, ahk_id %lParam%
Control, Style, -0x2800, SysListView321, ahk_id %lParam%
...It seems in desktop mode groupping does not work...


My System SpecsSystem Spec
.
06 Jan 2016   #42
w7pro

Windows 7 Pro x64
 
 

Quote   Quote: Originally Posted by Anixx View Post
This in AHK removes align left and adds the scrollbar:

Code:
Control, Style, -0x2800, FolderView, ahk_id %lParam%
Control, Style, -0x2800, SysListView321, ahk_id %lParam%
...It seems in desktop mode groupping does not work...
Thank you, Anixx!
I copy/pasted your code and then compiled the file with AutoHotkey 1.1.22.09. However it doesn't seems to run / work. Any ideas?
My System SpecsSystem Spec
06 Jan 2016   #43
Anixx

Windows 7
 
 

This is the complete script that I am using, it also removes the address bar and adds the client edge. It includes the lines above:

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, SysListView321, ahk_id %lParam%
Control, ExStyle, +0x200, SysTreeView321, ahk_id %lParam%

Control, Style, -0x2800, FolderView, ahk_id %lParam%
Control, Style, -0x2800, SysListView321, 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%
}

;If (wParam = 1){
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%

;}
}

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

}

}

}
My System SpecsSystem Spec
.

06 Jan 2016   #44
Anixx

Windows 7
 
 

Quote   Quote: Originally Posted by w7pro View Post
Windows Explorer >> Tools >> Folder Options >> View >> Apply to Folders doesn't seem to work.
It should work, at least it works for me.
My System SpecsSystem Spec
06 Jan 2016   #45
Anixx

Windows 7
 
 

Here it is, sharp icons finally:





But there are issues remaining.

1. Registry hack does not work as reliably and universally as Folder Options X. We have to modify Folder Options X so to set the desktop mode. I know how to do that but I do not know how to build Folder Options X. I tried various combinations of MSVS and WinSDK but nothing worked.

2. We do not have the shortcut for 32px icons in the View menu.

3. We need all the same but in open/save dialogs.

4. The groupping does not work and manual sorting is not remembered in the Desktop mode.
My System SpecsSystem Spec
06 Jan 2016   #46
w7pro

Windows 7 Pro x64
 
 

Thanks, Anixx!

I edited your script and removed some of the code. The result is this:
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%
}

}

}
Alignment and scrollbar are working great now!
Anything else I should remove from the code to speed it up?

Unfortunately Windows Explorer >> Tools >> Folder Options >> View >> Apply to Folders still doesn't work for me
My System SpecsSystem Spec
07 Jan 2016   #47
Anixx

Windows 7
 
 

Quote:
Unfortunately Windows Explorer >> Tools >> Folder Options >> View >> Apply to Folders still doesn't work for me
Try to delete the Bags entry in the registry. Also this works only for the same type of folders as the one u are using.
My System SpecsSystem Spec
07 Jan 2016   #48
Anixx

Windows 7
 
 

Quote   Quote: Originally Posted by Butters View Post
I just found another method! By adding and then removing the LVS_SMALLICONS window style (in a folder without the desktop behavior), the labels should default to the bottom.

Well this method also works!

Its advantages:

* No registry editing is needed
* Groupping and manual arrange will work
* It will instantly be applied to all folder types whose icon size is set to below or equal 32 px.

Its disadvantages:

* When switching from another view, the labels will be to the right until the folder is closed and reopened.
* For big folders the change is not instanteous.
* It affects table view and list view, making them look like small icons.

The code is:

Code:
Control, Style, +0x2, FolderView, ahk_id %lParam%
Control, Style, +0x2, SysListView321, ahk_id %lParam%
Control, Style, -0x2, FolderView, ahk_id %lParam%
Control, Style, -0x2, SysListView321, ahk_id %lParam%
My System SpecsSystem Spec
07 Jan 2016   #49
w7pro

Windows 7 Pro x64
 
 

I thought this would work for me but it didn't. I tried with 32px icon size. Even below 32px it still won't work.

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, +0x2, FolderView, ahk_id %lParam%
Control, Style, +0x2, SysListView321, ahk_id %lParam%
Control, Style, -0x2, FolderView, ahk_id %lParam%
Control, Style, -0x2, SysListView321, ahk_id %lParam%

}

}

}
Any help is much appreciated!
My System SpecsSystem Spec
08 Jan 2016   #50
Anixx

Windows 7
 
 

Install program Folder Options X and check "disable auto-arrange".
My System SpecsSystem Spec
Reply

 Is it possible to have icons of 32px and their name BELOW?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Multiple icons showing in smallest size when using Extra Large Icons
I've seen multiple posts here and other forums and I have tried all of the steps provided in those posts but it is not resolving my issue. I have the exact same issue as the user in THIS THREAD. I have tried the icon database rebuild (both manually and using the bat file HERE), I have tried...
Customization
Notification Area Icons - Hide or Show System Icons and Notifications
How to Hide or Show System Icons and Notifications in Windows 7 and Windows 8 The notification area is a part of the taskbar that provides a temporary source for notifications and status. It can also be used to display icons for system and program features that are not on the desktop. The...
Tutorials
problem with icons on taskbar (wrong icons or missing icons)
Hi all (I'm italian, excuse me for my bad english). I have a pc with windows 7 home premium 64 bit. I have a problem with some icons on taskbar: sometimes some applications are displaying the wrong icons, sometimes, as you can see (screenshot), I don't see some icons: sometimes a few are missing...
Performance & Maintenance
Can't Change Back to Default Windows 7 Icons from another Themes Icons
Hello, when i first got my compute i installed a custom theme changing basically evrything about my computer and its apearence on the desktop. This includes the icons as well. When i tried to revert back to the original windows 7 icons it seems that this theme (which is third party I should mention...
Customization
I've changed system tray icons .dll files, some icons disappeared
I was trying to change the system tray icons by changing the .dll and somehow the battery, sound, network icons are not showing. I've tried to replace the .dll files but it didn't work. http://i53.tinypic.com/15qdab6.png help would be really appreciated. thanks!
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App