Hello,
I am trying to figure out where i can find the number of the icon of the different windows DDLs for icons.
I know about shell32.dll and imageres.dll and some more but the imgaes & the icons' numbers on the google images arent the same anymore.
I also checked msdn for some info but couldnt find something useful.
Any ideas? Because of the difference in the numbers, I am afraid of using it for my program because on other computers it could cause problems.
[Trying to use add,picture,iconNUMBER,DDL because downloading the icons in a folder is so.. annoying for the user(s)]
windows icons
Started by
Guest
, Jul 19 2012 09:31 PM
4 replies to this topic
#1
Guest
Posted 19 July 2012 - 09:31 PM
#2
Posted 19 July 2012 - 09:35 PM
I believe that Windows XP and Windows 7 will have different icons in their dll files, so that would definitely be an issue if sharing the script.
You might try extracting the images using ResHacker or similar programs and then include it with your script as an .ico file.
You might try extracting the images using ResHacker or similar programs and then include it with your script as an .ico file.
#3
Posted 19 July 2012 - 09:35 PM
#4
Guest
Posted 20 July 2012 - 09:11 AM
Thanks a lot.
#5
Posted 20 July 2012 - 12:30 PM
Note that if the index of an icon changes between Windows versions but the resource ID (shown by Resource Hacker) is consistent, you can refer to the icon by ID instead of index. For AutoHotkey_L, just use
-ID as the icon number (e.g. -100 is resource ID 100). For AutoHotkey 1.0 you can use IndexOfIconResource() to convert the icon to a positive icon number.




