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

Page 5 of 8 FirstFirst ... 34567 ... LastLast

  1. Posts : 234
    Windows 7
    Thread Starter
       #41

    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...
    Last edited by Anixx; 05 Jan 2016 at 16:32.
      My Computer


  2. Posts : 26
    Windows 7 Pro x64
       #42

    Anixx said:
    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 Computer


  3. Posts : 234
    Windows 7
    Thread Starter
       #43

    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 Computer


  4. Posts : 234
    Windows 7
    Thread Starter
       #44

    w7pro said:
    Windows Explorer >> Tools >> Folder Options >> View >> Apply to Folders doesn't seem to work.
    It should work, at least it works for me.
      My Computer


  5. Posts : 234
    Windows 7
    Thread Starter
       #45

    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 Computer


  6. Posts : 26
    Windows 7 Pro x64
       #46

    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 Computer


  7. Posts : 234
    Windows 7
    Thread Starter
       #47

    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 Computer


  8. Posts : 234
    Windows 7
    Thread Starter
       #48

    Butters said:
    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%
    Last edited by Anixx; 08 Jan 2016 at 02:59.
      My Computer


  9. Posts : 26
    Windows 7 Pro x64
       #49

    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 Computer


  10. Posts : 234
    Windows 7
    Thread Starter
       #50

    Install program Folder Options X and check "disable auto-arrange".
    Last edited by Anixx; 08 Jan 2016 at 03:59.
      My Computer


 
Page 5 of 8 FirstFirst ... 34567 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 22:39.
Find Us