[VB]Updating Buttons in a Visual Studio 2017 Extension

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

Guest
I am working on learning how to write extensions for Visual Studio 2017 (VSIX Projects). At the moment, I have managed to create the toolbar buttons that I need and make them into OleMenuCommand instead of MenuCommand. However, I want my Button(s) to act like RadioButton(s) would in a UWP app (only one selected at a time). I know that OleMenuCommand has a Checked property, which I am sure is involved in this somehow. But I am not sure where to put the code to do this, how to access the Button(s) in my toolbar, or where to call UpdateCommandUI (which I am guessing I will need). The code on the following page:

Updating the User Interface - Visual Studio

was very confusing to me, because it shows a method (UpdateUI), but does not show anywhere to call it from. This is my first time writing an extension or working with a VSIX Project, so please forgive me for asking any obvious questions. Thank you.


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

Continue reading...
 
Back
Top