I was glad to see AddNamedCommands2 added to the DTE.Commands since it lets you control the icons/text displayed. I hated having text in my toolbars with VS2003. But I'm still having trouble getting what I want.
I want to display icons only in the toolbar, and icons+text in the menu (as is typical for most applications) I'm trying to turn on toolbar and menu icons for a command. To get Icons only in my toolbar, I use:
However, if I add my command to the menu too, the icon disapears. If I use
vsCommandStyle.vsCommandStylePictandText, I get the icon and text in the menu, but also the text in the toolbar (which is like in in VS2003 and what I want to avoid).
Anyone know if there anyway of getting icons in my menu without adding text to my toolbar (short of creating two commands)?
I want to display icons only in the toolbar, and icons+text in the menu (as is typical for most applications) I'm trying to turn on toolbar and menu icons for a command. To get Icons only in my toolbar, I use:
vsCommandStyle
.vsCommandStylePictHowever, if I add my command to the menu too, the icon disapears. If I use
vsCommandStyle.vsCommandStylePictandText, I get the icon and text in the menu, but also the text in the toolbar (which is like in in VS2003 and what I want to avoid).
Anyone know if there anyway of getting icons in my menu without adding text to my toolbar (short of creating two commands)?