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

前端 未结 8 1727
闹比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: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.

提交回复
热议问题