Try the attached two reg files if you want to do this without Folder Options X. But note that this will be less reliable method, for instance it will not work on zip folders and some other special folders.
I don't use zip folders / special folders so that's not a problem.
I restored the system. Then applied the 2 .reg files. When the ahk script is running the text is on the right side and not below the 32px icons.
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") {
SendMessage, 0x108F,,,SysListView321, ahk_id %lParam%
If (ErrorLevel=0x2){
Control, Style, +0x2, SysListView321, ahk_id %lParam%
Control, Style, -0x2, SysListView321, ahk_id %lParam%
}
}
}
}
Any ideas?
By the way, is this information any helpful?