0

VisualStudioExtensionを開発しています。いくつかの例を見ると、更新ボタンなどのボタンのアイコンが組み込まれていることがわかります。

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

私の質問は、このアイコングループ「guidOfficeIcon」の利用可能なIDのリストはありますか?ネットを掘り下げて、他にもいくつか見つけました:msotcidClock、msotcidNoIcon、msotcidGears ...しかし、それらすべてのリストがあると便利です。

アドバイスありがとうございます。

4

2 に答える 2

2

同じものを探すのに数時間費やしました。このファイルは、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"/>
于 2012-11-13T06:37:35.103 に答える
0

しばらくして、やっと見つけました。イメージ ID のリストは、こちらの msobtnid.h ファイルにあります。

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

于 2012-09-02T04:44:57.050 に答える