Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / May 2007

Tip: Looking for answers? Try searching our database.

Dynamic visibility of menus and buttons differs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boris - 19 May 2007 07:35 GMT
"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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.