I have created a VSIX package which adds a toolbar, via the vsct file. I have also added several Comboboxes to the file. The toolbar is enabled by the callback OnAfterOpenSolution depending on the name of the solution. This all works but I now need to either totally hide one ComboBox, or dynamically add one, depending projects within the solution.
Using <CommandFlag>DefaultInvisible</CommandFlag> in the Combo declaration does not hide the control, its just appears as if just disabled.
How do I go about totally hiding a control or dynamically adding a control via the callback?
Mike