4

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.vsCommandStatusEnabled, 
     (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?

AngryHacker
  • 59,598
  • 102
  • 325
  • 594
  • Possible duplicate of [Where are the Icons included with Visual Studio?](http://stackoverflow.com/questions/301968/where-are-the-icons-included-with-visual-studio) – Grant Thomas Jun 30 '11 at 23:21
  • 1
    @Mr. Disappointment - It is in no way a duplicate of that question. – AngryHacker Jun 30 '11 at 23:39

1 Answers1

9

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.

Jason Moore
  • 3,294
  • 15
  • 18