VS扩展开发:是否有内置按钮图标的列表



我正在开发一个Visual Studio Extension。查看一些示例,我注意到按钮有内置图标,例如刷新按钮:

<Icon guid="guidOfficeIcon" id="msotcidRefresh"/>

我的问题是:是否有此图标组"guidOfficeIcon"的可用ID列表?在网上挖掘,我发现了其他一些:msotcidClock,msotcidNoIcon,msotcidGears......但是,最好列出所有这些清单。

谢谢你的建议。

我只是花了几个小时寻找同样的东西。该文件可以在Program Files\Microsoft Visual Studio 2010 SDK\VisualStudioIntegration\Common中找到。在完美的 20/20 事后看来,答案就在我们眼前,vs 包向导创建的 vcst 文件指定

<!--This is the file that defines the IDs for all the commands exposed by VisualStudio. -->
<Extern href="stdidcmd.h"/>
<!--This header contains the command ids for the menus provided by the shell. -->
<Extern href="vsshlids.h"/>
<!--Definition of some VSCT specific constants. In this sample we use it for the IDs inside the guidOfficeIcon group. -->
<Extern href="msobtnid.h"/>

一段时间后,我终于找到了它。映像 ID 列表可以在文件 msobtnid.h 中找到,该文件可在此处找到。

https://bitbucket.org/NickJosevski/jslint-for-vs2010-cli/src/b1e25667521e/vssdk_tools/Inc/office10/msobtnid.h

最新更新