Can I trust imageres.dll system icons indexes?

后端 未结 1 1476
孤独总比滥情好
孤独总比滥情好 2021-01-23 23:57

I made a custom directory tree control which uses system icons extracted from imageres.dll file. I mean the file is read from Windows directory, so there will be mu

相关标签:
1条回答
  • 2021-01-24 00:09

    The correct way to get the icons is to use SHGetStockIconInfo. It will tell you where the icon is in the current version of Windows.

    If you want the system's current folder icons (which may not be the standard ones due to user customization), use SHGetFileInfo.

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