"Once your VSPackage is loaded, the IDE relies on your commands to
determine their visibility instead of the static visibility defined in the
VISIBILITY_SECTION - VISIBILITY_END section." This is a quote from
http://msdn2.microsoft.com/en-us/library/bb165743(VS.80).aspx.
However it can be easily seen that buttons are still dynamically
shown/hidden when a package has been loaded. While the visibility of
buttons continues to depend on the context as defined in the ctc file
menus won't disappear anymore - no matter what the context is.
Is this an undocumented feature with buttons or a bug with menus? I wonder
on what to rely. If I should rely on the documentation I better pretend as
if nothing is automatically shown/hidden after a package has been loaded?
Boris
Boris - 19 May 2007 08:09 GMT
Sorry, forget about my question - it works now with both menus and
buttons. I probably forgot to refresh the experimental hive.
Boris