Where can I find the default icons used for folders and applications?

前端 未结 8 1728
闹比i
闹比i 2021-01-03 09:49

I\'m trying to load the default HICON that explorer displays for:

  • An open folder
  • An exe that has no embedded default icon of its own. This can also
相关标签:
8条回答
  • 2021-01-03 10:17

    it's much easier, just open the shell32.dll with resource hacker and right-click on "ICONS" and save all icons resource in a directory.

    and you'll get all the windows default icons in that directory.

    [link]http://www.angusj.com/resourcehacker/[/link]

    0 讨论(0)
  • 2021-01-03 10:20

    The user's selected icon can be found in the registry at HKEY_CLASSES_ROOT\Folder\DefaultIcon

    By looking up the value here, you'll also pick up if they've changed it for whatever reason.

    For folders where a desktop.ini file exists, you'd need to read the IconFile and IconIndex entries.

    0 讨论(0)
提交回复
热议问题