开发者

List of icons for Visual Studio Add-ins

开发者 https://www.devze.com 2023-03-16 19:48 出处:网络
I am cooking up a quick Visual Studio 2008 add-in.One of the key commands is to place a menu entry under the Tools menu:

I am cooking up a quick Visual Studio 2008 add-in. One of the key commands is to place a menu entry under the Tools menu:

Command command = commands.AddNamedCommand2(_addInInstance, "MyAddin", "My Addin", 
     "Executes the command for MyAddin", true, 
     59, 
     ref contextGUIDS, (int)vsCommandStatus.vsCommandStatusSupported
          +(int)vsCommandStatus.v开发者_JAVA百科sCommandStatusEnabled, 
     (int)vsCommandStyle.vsCommandStylePictAndText, 
     vsCommandControlType.vsCommandControlTypeButton);

One of the parameters is 59 (6th parameter), which refers to the icon ordinal that a plugin can use. Apparently there are hundreds available.

Is there a complete list of icons somewhere so that I can actually see what they look like?


Here is the list:

http://www.kebabshopblues.co.uk/2007/01/04/visual-studio-2005-tools-for-office-commandbarbutton-faceid-property/

For instance, the integer 59 represents a smiley face.

0

精彩评论

暂无评论...
验证码 换一张
取 消