How to create command menu item with checkbox?
问题 I'm writing a VSPackage and I need to have menu item with checkbox, just like on this sample image below: I went through this msdn reference regarding .vsct files, bud didn't fine any information explaining how to do it. What I have now is standard menu item with icon and text (code sample from MyPackage.vsct file): <Buttons> <Button guid="guidMyPackageCmdSet" id="cmdidMyPackage" type="Button"> <Icon guid="guidImages" id="myPackageBitmap" /> <CommandFlag>TextChanges</CommandFlag> <CommandFlag