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 / IDE / May 2004

Tip: Looking for answers? Try searching our database.

Solution Explorer Toolbar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack Peters - 12 May 2004 17:06 GMT
How to programmatically access to the Toolbar of the Solution Explorer
ToolWindow?

I can access the window itself
I can also acces the UIHierarchy

but I can't find how to access the embedded Toolbar
"Ed Dore [MSFT]" - 13 May 2004 00:16 GMT
Hi Jack,

There actually isn't any programatic access to the toolwindow toolbars,
such as the one in solution explorer. Typically, the toolbar items just
invoke a specific command, so you could simple execute the matching
command, like Project.ShowAllFiles, or View.ViewCode for example. To
execute the commands use the DTE.ExecuteCommand() function.

Also, it's kind of difficult to figure out what a few of those buttons
actually execute. The EventWatcher sample addin is a good one to identify
the commands getting executed in the environment. It's available for
download at the following website:

 
http://www.microsoft.com/downloads/details.aspx?familyid=3ff9c915-30e5-430e-
95b3-621dccd25150&displaylang=en

Sincerely,
Ed Dore [MSFT]

This post is 'AS IS' with no warranties, and confers no rights.
Carlos J. Quintero [MVP] - 13 May 2004 10:47 GMT
It is not available for addins but I think that you can access it (to add
buttons, for example) using VSIP:

http://msdn.microsoft.com/vstudio/extend/

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)

> How to programmatically access to the Toolbar of the Solution Explorer
> ToolWindow?
[quoted text clipped - 3 lines]
>
> but I can't find how to access the embedded Toolbar

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.