Windows资源管理器中使用了如何重用应用程序图标 [英] How to reuse application icons are used in Windows Explorer
问题描述
您好,
Hello,
我正在开发一个链接到存储库的应用程序存储各种文件类型,包括MS Office文档,电子邮件,pdf,图像文件等。我们的应用程序的用户具有存储在存储库
中的案例的概念,使他们能够打开文件并将文件保存到从这些情况来看。
I am developing an application that links to a repository where a variety of file types are stored including MS Office documents, emails, pdfs, image files, etc. Users of our application have the concept of a cases which are stored on the repository that enable them to open and save files to and from these cases.
我想在我的应用程序中使用代表Windows资源管理器中文件类型的相同图标来表示存储在案例中的文件,以便保持一致性在我们使用Windows的用户界面中。
I want to use the same icons that represent file types in Windows Explorer within my app to represent the files stored on a case so that there is a consistency in our UI with Windows.
是否可以使用这些图标,如果有,我怎样才能抓住它们?
Is it possible to use these icons and if so how can I get hold of them?
我想使用Windows资源管理器中使用的小图标,通常最大为16 x 16像素。
I want to use the small icons that are used in Windows Explorer which are typically 16 x 16 pixels maximum.
Duncan
推荐答案
参见
SHG etFileInfo函数和用于检索图标信息的标志。
See SHGetFileInfo function and the flags to retrieve icon information.
这篇关于Windows资源管理器中使用了如何重用应用程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!