-
A menu item's icon can be set in the <Button guid="MyPackage" id="MyCommand" priority="0x0100" type="Button">
<Icon guid="ImageCatalogGuid" id="SettingsFile" />
<CommandFlag>IconIsMoniker</CommandFlag>
</Button> Does anyone know if the same thing can be done via code at runtime? I'm creating a dynamic command, and I'd like to give each of the generated menu items a different icon, but the icon won't be known until runtime. The menu item text can be changed via the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I haven't figured out how to do it. I'm not sure it's supported because of the somewhat static nature of the VS command table. @ryanmolden might know? |
Beta Was this translation helpful? Give feedback.
-
From here: #272 (comment) The answer is no. 😞 |
Beta Was this translation helpful? Give feedback.
From here: #272 (comment)
The answer is no. 😞