Jump to content


windows icons


  • Please log in to reply
4 replies to this topic

#1 Guest

Guest
  • Guests

Posted 19 July 2012 - 09:31 PM

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)]

#2 TheDewd

TheDewd
  • Members
  • 823 posts

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.

#3 dylan904

dylan904
  • Members
  • 706 posts

Posted 19 July 2012 - 09:35 PM

You could use resourcehacker to view into the .dll's.
http://download.cnet...4-10178587.html

#4 Guest

Guest
  • Guests

Posted 20 July 2012 - 09:11 AM

Thanks a lot.

#5 Lexikos

Lexikos
  • Administrators
  • 8834 posts

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.