Windows 10 available *.dll Icons

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
pcg
Posts: 4
Joined: 18 Jan 2023, 00:11

Windows 10 available *.dll Icons

03 Oct 2023, 18:26

I needed to work with standard windows .dll icons for my other project, so I wrote this little script to visualize most available icons from windows 10 .dll's.
Thought it might be usefull for future generations :P

Initial code was taken from

Demo

Code: Select all

; ----- https://www.the-automator.com/autohotkey-scripts-icon/							-	original code I started with
; ----- https://www.digitalcitizen.life/where-find-most-windows-10s-native-icons/		-	info about available icons 
#SingleInstance,Force
Menu, Tray, Icon, C:\Windows\system32\accessibilitycpl.dll,15
Menu, Tray, Tip, % A_WinDir "\system32\*.dll's Icons"
Menu, Tray, NoStandard													
Menu, Tray, Add, Reload, ReloadMenu										
Menu, Tray, Add, Exit, ExitMenu											
global Count := 350, File := "shell32.dll" 
global Shell32:=1,imageres:=0,pifmgr:=0,ddores:=0,moricons:=0,mmcndmgr:=0,netshell:=0,setupapi:=0,wmploc:=0,compstui:=0,ieframe:=0,accessibilitycpl:=0,mmres:=0,netcenter:=0,networkexplorer:=0,pnidui:=0,sensorscpl:=0,wpdshext:=0,dmdskres:=0,dsuiext:=0,mstscax:=0,wiashext:=0,comres:=0,actioncentercpl:=0,aclui:=0,autoplay:=0,comctl32:=0,filemgmt:=0,url:=0,xwizards:=0

CreateGui:
	Gui, Destroy
	Gui, -MaximizeBox
	Gui, Font,s10
	addRadioButtons()
	
	Gui, Add,ListView,x175 y5 w135 h670 gListClick ,Big Icons 		; list(image)view for Big Icons
	ImageListID := IL_Create(Count,,1)	
	LV_SetImageList(ImageListID,1)
	loop, % Count
		IL_Add(ImageListID,File,A_Index) 
	loop, % Count
		LV_Add("Icon" A_Index, "     -     " A_Index,2)
	LV_ModifyCol(1,115)												; adjusting width
	
	Gui, Add,ListView,x350 y5 w135 h670 gListClick,Small Icons 		; list(image)view for Small Icons
	ImageListID_small := IL_Create(Count)	
	LV_SetImageList(ImageListID_small)
	loop, % Count
		IL_Add(ImageListID_small,File,A_Index) 
	loop, % Count
		LV_Add("Icon" A_Index, "     -     " A_Index,2)
	LV_ModifyCol(1,115)												; adjusting width
	
	Gui Show, h685 w490,% A_WinDir "\system32\*.dll's Icons" 
return

RadioClick:
	Gui, Submit										
	File := (Shell32 ? "shell32.dll" : pifmgr ? "pifmgr.dll" : ddores ? "ddores.dll" : moricons ? "moricons.dll" : mmcndmgr ? "mmcndmgr.dll" : netshell ? "netshell.dll" : setupapi ? "setupapi.dll" : compstui ? "compstui.dll" : ieframe ? "ieframe.dll" : wmploc ? "wmploc.dll" : accessibilitycpl ? "accessibilitycpl.dll" : mmres ? "mmres.dll" : netcenter ? "netcenter.dll" : networkexplorer ? "networkexplorer.dll" : pnidui ? "pnidui.dll" : sensorscpl ? "sensorscpl.dll" : wpdshext ? "wpdshext.dll" : dmdskres ? "dmdskres.dll" : dsuiext ? "dsuiext.dll" : mstscax ? "mstscax.dll" : wiashext ? "wiashext.dll" : comres ? "comres.dll" : actioncentercpl ? "actioncentercpl.dll" : aclui ? "aclui.dll" : autoplay ? "autoplay.dll" : comctl32 ? "comctl32.dll" : filemgmt ? "filemgmt.dll" : url ? "url.dll" : xwizards ? "xwizards.dll" : "imageres.dll")
	Shell32=0,imageres:=0,ifmgr:=0,ddores:=0,moricons:=0,mmcndmgr:=0,netshell:=0,setupapi:=0,wmploc:=0,compstui:=0,ieframe:=0,accessibilitycpl:=0,mmres:=0,netcenter:=0,networkexplorer:=0,pnidui:=0,sensorscpl:=0,wpdshext:=0,dmdskres:=0,dsuiext:=0,mstscax:=0,wiashext:=0,comres:=0,actioncentercpl:=0,aclui:=0,autoplay:=0,comctl32:=0,filemgmt:=0,url:=0,xwizards:=0
	Loop, parse, % "Shell32,imageres,pifmgr,ddores,moricons,mmcndmgr,netshell,setupapi,wmploc,compstui,ieframe,accessibilitycpl,mmres,netcenter,networkexplorer,pnidui,sensorscpl,wpdshext,dmdskres,dsuiext,mstscax,wiashext,comres,actioncentercpl,aclui,autoplay,comctl32,filemgmt,url,xwizards", `,
		if (A_Loopfield=a_guicontrol)
			%a_guicontrol% := 1		
	gosub, CreateGui
return

ListClick(){
  If (A_GuiEvent = "DoubleClick"){
    Clipboard := A_WinDir "\system32\" File "`t" A_EventInfo 
	tooltip % "copied to clipboard"
	sleep 500
	tooltip
}}

addRadioButtons()
{
	Gui, Add,Radio,vaccessibilitycpl gRadioClick Checked%accessibilitycpl% ,accessibilitycpl.dll
	Gui, Add,Radio,vaclui gRadioClick Checked%aclui% ,aclui.dll
	Gui, Add,Radio,vactioncentercpl gRadioClick Checked%actioncentercpl% ,actioncentercpl.dll
	Gui, Add,Radio,vautoplay gRadioClick Checked%autoplay% ,autoplay.dll
	Gui, Add,Radio,vcomctl32 gRadioClick Checked%comctl32% ,comctl32.dll
	Gui, Add,Radio,vcompstui gRadioClick Checked%compstui% ,compstui.dll
	Gui, Add,Radio,vcomres gRadioClick Checked%comres% ,comres.dll
	Gui, Add,Radio,vddores gRadioClick Checked%ddores% ,ddores.dll
	Gui, Add,Radio,vdmdskres gRadioClick Checked%dmdskres% ,dmdskres.dll
	Gui, Add,Radio,vdsuiext gRadioClick Checked%dsuiext% ,dsuiext.dll
	Gui, Add,Radio,vfilemgmt gRadioClick Checked%filemgmt% ,filemgmt.dll
	Gui, Add,Radio,vieframe gRadioClick Checked%ieframe% ,ieframe.dll
	Gui, Add,Radio,vImageRes gRadioClick Checked%imageres% ,imageres.dll
	Gui, Add,Radio,vmmcndmgr gRadioClick Checked%mmcndmgr% ,mmcndmgr.dll
	Gui, Add,Radio,vmmres gRadioClick Checked%mmres% ,mmres.dll
	Gui, Add,Radio,vmoricons gRadioClick Checked%moricons% ,moricons.dll
	Gui, Add,Radio,vmstscax gRadioClick Checked%mstscax% ,mstscax.dll
	Gui, Add,Radio,vnetcenter gRadioClick Checked%netcenter% ,netcenter.dll
	Gui, Add,Radio,vnetshell gRadioClick Checked%netshell% ,netshell.dll
	Gui, Add,Radio,vnetworkexplorer gRadioClick Checked%networkexplorer% ,networkexplorer.dll
	Gui, Add,Radio,vpifmgr gRadioClick Checked%pifmgr% ,pifmgr.dll
	Gui, Add,Radio,vpnidui gRadioClick Checked%pnidui% ,pnidui.dll
	Gui, Add,Radio,vsensorscpl gRadioClick Checked%sensorscpl% ,sensorscpl.dll
	Gui, Add,Radio,vsetupapi gRadioClick Checked%setupapi% ,setupapi.dll
	Gui, Add,Radio,vShell32  gRadioClick Checked%Shell32%,shell32.dll
	Gui, Add,Radio,vurl gRadioClick Checked%url% ,url.dll
	Gui, Add,Radio,vwiashext gRadioClick Checked%wiashext% ,wiashext.dll
	Gui, Add,Radio,vwmploc gRadioClick Checked%wmploc% ,wmploc.dll
	Gui, Add,Radio,vwpdshext gRadioClick Checked%wpdshext% ,wpdshext.dll
	Gui, Add,Radio,vxwizards gRadioClick Checked%xwizards% ,xwizards.dll
}

ReloadMenu:
Reload

ExitMenu:
GuiClose:
	ExitApp

#IfWinActive ahk_class AutoHotkeyGUI
	WheelDown::
		ControlClick, SysListView321, ,,WD,1
		ControlClick, SysListView322, ,,WD,1
	return
	
	WheelUp::
		ControlClick, SysListView321, ,,WU,1
		ControlClick, SysListView322, ,,WU,1
	return
#IfWinActive
ozzii
Posts: 482
Joined: 30 Oct 2013, 06:04

Re: Windows 10 available *.dll Icons

04 Oct 2023, 05:19

Thanks, can be useful
XMCQCX
Posts: 251
Joined: 14 Oct 2020, 23:44

Re: Windows 10 available *.dll Icons

04 Oct 2023, 15:41

I also wrote something similar. Approximately 2800 icons on the same scrollable GUI. Click on the scroll bar and drag to scroll. Using the mouse wheel will skip many icons. I haven't figured out how to adjust the scroll increment. Tested on Windows 10.

GIF
https://imgur.com/a/ajk4Etp

Required library. Class_ScrollGUI by just me.
https://github.com/AHK-just-me/Class_ScrollGUI

Code: Select all

#SingleInstance, Force
SendMode Input
SetWorkingDir, %A_ScriptDir%

#Include <v1\Class_ScrollGUI\Sources\Class_ScrollGUI>
; https://github.com/AHK-just-me/Class_ScrollGUI

aIconsDLL := []
aIconsDLL.Push("C:\Windows\System32\imageres.dll")
aIconsDLL.Push("C:\Windows\System32\shell32.dll")
aIconsDLL.Push("C:\Windows\System32\netshell.dll")
aIconsDLL.Push("C:\Windows\System32\wmploc.dll")
aIconsDLL.Push("C:\Windows\System32\ddores.dll")
aIconsDLL.Push("C:\Windows\System32\mmcndmgr.dll")
aIconsDLL.Push("C:\Windows\System32\moricons.dll")
aIconsDLL.Push("C:\Windows\System32\ieframe.dll")
aIconsDLL.Push("C:\Windows\System32\compstui.dll")
aIconsDLL.Push("C:\Windows\System32\setupapi.dll")
aIconsDLL.Push("C:\Windows\System32\inetcpl.cpl")
aIconsDLL.Push("C:\Windows\System32\synccenter.dll")
aIconsDLL.Push("C:\Windows\System32\pnidui.dll")
aIconsDLL.Push("C:\Windows\System32\mspaint.exe")
aIconsDLL.Push("C:\Windows\System32\pifmgr.dll")
aIconsDLL.Push("C:\Windows\System32\dsuiext.dll")
aIconsDLL.Push("C:\Windows\System32\msihnd.dll")
aIconsDLL.Push("C:\Windows\explorer.exe")
aIconsDLL.Push("C:\Windows\System32\taskmgr.exe")
aIconsDLL.Push("C:\Windows\System32\stobject.dll")
aIconsDLL.Push("C:\Windows\System32\rasgcw.dll")
aIconsDLL.Push("C:\Windows\System32\mshtml.dll")
aIconsDLL.Push("C:\Windows\System32\msctf.dll")
aIconsDLL.Push("C:\Windows\System32\msutb.dll")
aIconsDLL.Push("C:\Windows\System32\cryptui.dll")
aIconsDLL.Push("C:\Windows\System32\accessibilitycpl.dll")
aIconsDLL.Push("C:\Windows\System32\SensorsCpl.dll")
aIconsDLL.Push("C:\Windows\System32\wpdshext.dll")
aIconsDLL.Push("C:\Windows\System32\wiashext.dll")
aIconsDLL.Push("C:\Windows\System32\rasdlg.dll")
aIconsDLL.Push("C:\Windows\System32\twinui.dll")
aIconsDLL.Push("C:\Windows\System32\dmdskres.dll")
aIconsDLL.Push("C:\Windows\System32\comres.dll")
aIconsDLL.Push("C:\Windows\System32\ipsmsnap.dll")
aIconsDLL.Push("C:\Windows\System32\mstsc.exe")
aIconsDLL.Push("C:\Windows\System32\networkexplorer.dll")
aIconsDLL.Push("C:\Windows\System32\comdlg32.dll")
aIconsDLL.Push("C:\Windows\System32\portabledevicestatus.dll")
aIconsDLL.Push("C:\Windows\System32\urlmon.dll")
aIconsDLL.Push("C:\Windows\System32\mmres.dll")
aIconsDLL.Push("C:\Windows\System32\localsec.dll")
aIconsDLL.Push("C:\Windows\System32\certmgr.dll")
aIconsDLL.Push("C:\Windows\System32\azroleui.dll")
aIconsDLL.Push("C:\Windows\System32\main.cpl")
aIconsDLL.Push("C:\Windows\System32\wiadefui.dll")
aIconsDLL.Push("C:\Windows\System32\mssvp.dll")
aIconsDLL.Push("C:\Windows\System32\mstscax.dll")
aIconsDLL.Push("C:\Windows\System32\connect.dll")
aIconsDLL.Push("C:\Windows\System32\prnfldr.dll")
aIconsDLL.Push("C:\Windows\System32\netcenter.dll")
aIconsDLL.Push("C:\Windows\System32\objsel.dll")
aIconsDLL.Push("C:\Windows\System32\sndvolsso.dll")
aIconsDLL.Push("C:\Windows\System32\dxptasksync.dll")
aIconsDLL.Push("C:\Windows\System32\fontext.dll")
aIconsDLL.Push("C:\Windows\System32\mmcbase.dll")
aIconsDLL.Push("C:\Windows\System32\psr.exe")
aIconsDLL.Push("C:\Windows\System32\quartz.dll")
aIconsDLL.Push("C:\Windows\System32\wmp.dll")
aIconsDLL.Push("C:\Windows\System32\colorui.dll")
aIconsDLL.Push("C:\Windows\System32\fdprint.dll")
aIconsDLL.Push("C:\Windows\System32\eudcedit.exe")
aIconsDLL.Push("C:\Windows\System32\imagesp1.dll")
aIconsDLL.Push("C:\Windows\System32\mmsys.cpl")
aIconsDLL.Push("C:\Windows\System32\msdt.exe")
aIconsDLL.Push("C:\Windows\System32\printui.dll")
aIconsDLL.Push("C:\Windows\System32\hnetcfg.dll")
aIconsDLL.Push("C:\Windows\System32\scrptadm.dll")
aIconsDLL.Push("C:\Windows\System32\webcheck.dll")
aIconsDLL.Push("C:\Windows\System32\wininetlui.dll")
aIconsDLL.Push("C:\Windows\System32\wlangpui.dll")
aIconsDLL.Push("C:\Windows\System32\wlanpref.dll")
aIconsDLL.Push("C:\Windows\System32\ntshrui.dll")
aIconsDLL.Push("C:\Windows\System32\actioncentercpl.dll")
aIconsDLL.Push("C:\Windows\System32\devmgr.dll")
aIconsDLL.Push("C:\Windows\System32\els.dll")
aIconsDLL.Push("C:\Windows\System32\netplwiz.dll")
aIconsDLL.Push("C:\Windows\System32\aclui.dll")
aIconsDLL.Push("C:\Windows\System32\url.dll")
aIconsDLL.Push("C:\Windows\System32\filemgmt.dll")
aIconsDLL.Push("C:\Windows\System32\comctl32.dll")
aIconsDLL.Push("C:\Windows\System32\ncpa.cpl")
aIconsDLL.Push("C:\Windows\System32\autoplay.dll")
aIconsDLL.Push("C:\Windows\System32\xwizards.dll")

Gui, New, +hwndHGUI +Resize
Menu, MenuContextMenu, Add, Open Path, MenuContextMenu
aIconsDLLlength := aIconsDLL.Length()

for Index, path in aIconsDLL
{
    Gui, Font, s18
    Gui, add, Edit, xm vTextCtrl%A_Index% ReadOnly, % path
    Gui, Font, s8

    Loop {
        if !(Hicon := LoadPicture(path, "Icon" A_Index "w55 h55", ImageType))
            Break

        PicVar := path "Icon" A_Index
        PicVar := ConvertPath(PicVar, ConvertForVar := "true")
        Gui, add, picture, % "x" . (mod(A_Index -1, 20) ? "+m ys" : "m Section") . " gPicCtrl v" PicVar, HICON:%Hicon%,, 0
        Gui, add, text,, Icon %A_Index%
        cntIcons++
    }

    Tooltip IconsViewAll is currently Loading...`n%index% of %aIconsDLLlength% DLL files.`n%cntIcons% icons.
}

Tooltip
scrollable_UI.SetLine(2, TABLE_ROW_H-1)
Global SG1 := New ScrollGUI(HGUI, 1000, 600, "+Resize +LabelGui1", 3, 4)
SG1.Show("IconsViewAll", "y0 xcenter")
return


OpenPath(PathIcon)
{
    PathIcon := ConvertPath(PathIcon, "")
    RegExMatch(PathIcon, "^(.*)(?=Icon)", MatchPath), RegExMatch(PathIcon, "\d+$", MatchIconNum)
    Run,% "explorer.exe /n,/select," MatchPath
}


ConvertPath(PathToConvert, ConvertForVar := "")
{
    % (!ConvertForVar := ConvertForVar)? PathToConvert := StrReplace(PathToConvert, "ColonReplace", ":")     : PathToConvert := StrReplace(PathToConvert, ":", "ColonReplace")
    % (!ConvertForVar := ConvertForVar)? PathToConvert := StrReplace(PathToConvert, "BackslashReplace", "\") : PathToConvert := StrReplace(PathToConvert, "\" , "BackslashReplace")
    % (!ConvertForVar := ConvertForVar)? PathToConvert := StrReplace(PathToConvert, "DotReplace", ".")       : PathToConvert := StrReplace(PathToConvert, "." , "DotReplace")
    Return PathToConvert
}


PicCtrl:
    If (PreviousControl = A_GuiControl) and Winexist("ahk_id " GuiPreviewIcon) {
        Gui, GuiPreviewIcon: Destroy
        Return
    }

    PreviousControl := A_GuiControl
    CoordMode, Mouse, Screen
    MouseGetPos, Xpos, Ypos,, Control
    PathIcon := ConvertPath(A_GuiControl, ConvertForVar := "")
    RegExMatch(PathIcon, "^(.*)(?=Icon)", MatchPath), RegExMatch(PathIcon, "\d+$", MatchIconNum)
    HIcon := LoadPicture(MatchPath, "ICON" MatchIconNum "w225 h225", ImageType)
    Gui, GuiPreviewIcon: New, +hwndGuiPreviewIcon -Caption +Border
    Gui, GuiPreviewIcon: Add, Picture, vGuiPreviewIcon gGuiPreviewIcon, HICON:%Hicon%
    Gui, GuiPreviewIcon: Show, x%Xpos% y%Ypos%
return


GuiPreviewIcon:
    If (A_GuiEvent = "Normal")
        Gui, GuiPreviewIcon: Destroy
return


GuiPreviewIconGuiContextMenu:
GuiContextMenu:

    If InStr(A_GuiControl, "TextCtrl") or !A_GuiControl
        Return

    If A_GuiControl != "GuiPreviewIcon"
        PathIcon := A_GuiControl

    Menu, MenuContextMenu, Show
return


MenuContextMenu:
    If A_ThisMenuItem = Open Path
        OpenPath(PathIcon)
return


GuiPreviewIconGuiEscape:
Gui, GuiPreviewIcon: Cancel
return


Gui1Close:
Exitapp
User avatar
DataLife
Posts: 460
Joined: 29 Sep 2013, 19:52

Re: Windows 10 available *.dll Icons

05 Oct 2023, 00:08

@pcg
I very much need this.
Thanks
Check out my scripts. (MyIpChanger) (ClipBoard Manager) (SavePictureAs)
All my scripts are tested on Windows 10, AutoHotkey 32 bit Ansi unless otherwise stated.
User avatar
pcg
Posts: 4
Joined: 18 Jan 2023, 00:11

Re: Windows 10 available *.dll Icons

10 Oct 2023, 21:51

Added @XMCQCX *.DLL's.

Improved code and UI.

Demo

Code: Select all

; ----- https://www.the-automator.com/autohotkey-scripts-icon/							-	original code I started with
; ----- https://www.digitalcitizen.life/where-find-most-windows-10s-native-icons/		-	info about available icons 
; ----- https://www.autohotkey.com/boards/viewtopic.php?f=6&t=122021&p=541814#p541937	-	user: 'XMCQCX' provided additional info about available dll's (icons)

#SingleInstance,Force
Menu, Tray, Icon, C:\Windows\system32\accessibilitycpl.dll,15
Menu, Tray, Tip, % A_WinDir "\system32\*.dll's Icons"
Menu, Tray, NoStandard													
Menu, Tray, Add, Reload, ReloadMenu										
Menu, Tray, Add, Exit, ExitMenu											
global Count := 350, StartingFile := "shell32.dll", DDL_Choice:="shell32.dll", DDL_List

; list of system32\*.dll's
global allDLL := ["accessibilitycpl","aclui","actioncentercpl","autoplay","azroleui","certmgr","colorui","comctl32","comdlg32","compstui"
				,"comres","connect","cryptui","ddores","devmgr","dmdskres","dsuiext","dxptasksync","els","fdprint"
				,"filemgmt","fontext","hnetcfg","ieframe","imageres","imagesp1","ipsmsnap","localsec","mmcbase","mmcndmgr"
				,"mmres","moricons","msctf","mshtml","msihnd","mssvp","mstscax","msutb","netcenter","netplwiz"
				,"netshell","networkexplorer","ntshrui","objsel","pifmgr","pnidui","portabledevicestatus","quartz","printui","prnfldr"
				,"rasdlg","rasgcw","scrptadm","sensorscpl","setupapi","shell32","sndvolsso","stobject","synccenter","twinui"
				,"url","urlmon","webcheck","wiadefui","wiashext","wininetlui","wlangpui","wlanpref","wmp","wmploc"
				,"wpdshext","xwizards"]

for key, val in allDLL												; creating items for DropDownList (DDL)
	DDL_List.=val ".dll|"
DDL_List:=SubStr(DDL_List, 1 , -1)

CreateGui:
	Gui, Destroy
	Gui, -MaximizeBox
	Gui, Font,s10
	
	Gui,Add,GroupBox,x-1 y-10 w350 h750								; setting a background for mousewheel to work correctly (i had bugs...)
	Gui,Add,DropDownList,vDDL_Choice gClickDDL x15 y5 w305,%DDL_List%
	GuiControl,Choose,DDL_Choice,%DDL_Choice%
		
	Gui, Add,ListView,x15 y35 w135 h670 gListClick ,Big Icons 		; list(image)view for Big Icons
	ImageListID := IL_Create(Count,,1)	
	LV_SetImageList(ImageListID,1)
	loop, % Count
		IL_Add(ImageListID,StartingFile,A_Index) 
	loop, % Count
		LV_Add("Icon" A_Index, "     -     " A_Index,2)
	LV_ModifyCol(1,115)												; adjusting width
	
	Gui, Add,ListView,x185 y35 w135 h670 gListClick,Small Icons 	; list(image)view for Small Icons
	ImageListID_small := IL_Create(Count)	
	LV_SetImageList(ImageListID_small)
	loop, % Count
		IL_Add(ImageListID_small,StartingFile,A_Index) 
	loop, % Count
		LV_Add("Icon" A_Index, "     -     " A_Index,2)
	LV_ModifyCol(1,115)												; adjusting width
	
	Gui Show, h715 w335,% A_WinDir "\system32\*.dll Icons" 
return

ClickDDL:
	Gui, Submit	
	for cDDL_key, cDDL_val in allDLL
	{
		%cDDL_val%:=0												; reset value for every .dll variable
		if ( cDDL_val = (SubStr(DDL_Choice,1,-4)) )
		{
			SubStr(DDL_Choice,1,-4) := 1							; set value to 1 for selected .dll variable in DropDownList
			StartingFile := DDL_Choice								; what .dll Icons to show 
		}
	}
	gosub, CreateGui
return

ListClick(){														; copy to clipboard on double click
  If (A_GuiEvent = "DoubleClick"){
    Clipboard := A_WinDir "\system32\" StartingFile "`t" A_EventInfo 
	tooltip % "copied to clipboard"
	sleep 500
	tooltip
}}

ReloadMenu:
Reload

ExitMenu:
GuiClose:
	ExitApp

#IfWinActive ahk_class AutoHotkeyGUI								; mousewheels behaviour 
	WheelDown::
		MouseGetPos , , , , ovcD
		if !(instr(ovcD,"syslistview") || instr(ovcD,"button"))		; if our mouse cursor is not above any ListView(syslistview) or Script Background(button=GroupBox)
		{
			Send {WheelDown}										; scrolling current control (DropDownList)
			return
		}
		else
		{
			ControlClick, SysListView321, ,,WD,1					; otherwise scroll both ListView's Down
			ControlClick, SysListView322, ,,WD,1					; otherwise scroll both ListView's Down
		}
	return
	
	WheelUp::
		MouseGetPos , , , , ovcU
		if !(instr(ovcU,"syslistview") || instr(ovcU,"button"))
		{
			Send {WheelUp}
			return
		}
		else 
		{
			ControlClick, SysListView321, ,,WU,1
			ControlClick, SysListView322, ,,WU,1
		}
	return
#IfWinActive
jerome017
Posts: 1
Joined: 15 Oct 2023, 06:22

Re: Windows 10 available *.dll Icons

17 Oct 2023, 11:03

Thanks for your work, it's really useful. Tell me, if an error pops up that the shell32.dll library was not found, what could this be due to?
RussF
Posts: 1296
Joined: 05 Aug 2021, 06:36

Re: Windows 10 available *.dll Icons

17 Oct 2023, 11:52

jerome017 wrote: Thanks for your work, it's really useful. Tell me, if an error pops up that the shell32.dll library was not found, what could this be due to?
That could be a real problem since shell32.dll is a system file and is necessary for Windows to function properly. It should be located in your C:\Windows\System32 folder. If it is not, See the Microsoft instructions for checking for and restoring missing or corrupt system files.

Russ

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 135 guests