I have created a simple add-in. It is activated when the user selects a project in solution explorer and right-clicks, it appears as a new menu item on the context menu, it has one sub-item.
When user selects that sub-item the add-in displays a modeless dialog for user to do stuff to the project, this all pretty much works.
However, the sub-menu item is currently onlt text, there is space on the left of it, for an icon/image.
How can I add an icon/image?
I have added a .png file as a resource to the add-in project, but can't see an Image or Icon property for the CommandBarControl class.
Any guidance much appreciated, this is designed/intended for Visual Studio 2008.
H
When user selects that sub-item the add-in displays a modeless dialog for user to do stuff to the project, this all pretty much works.
However, the sub-menu item is currently onlt text, there is space on the left of it, for an icon/image.
How can I add an icon/image?
I have added a .png file as a resource to the add-in project, but can't see an Image or Icon property for the CommandBarControl class.
Any guidance much appreciated, this is designed/intended for Visual Studio 2008.
H