Repository navigation
|
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 |
Answered by
reduckted
Jan 25, 2022
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? |
0 replies
|
From here: #272 (comment) The answer is no. 😞 |
0 replies
Answer selected by
reduckted
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From here: #272 (comment)
The answer is no. 😞