Re: creating popup menu
From: Carlos J. Quintero [MVP] (carlosq_at_NOSPAMsogecable.com)
Date: 06/11/04
- Next message: Larry Bird: "How to enable tools the in the ToolBox"
- Previous message: [MSFT]: "RE: Web Form Inheritance Error (Non-Abstract Superclass)"
- In reply to: omayma gouda via .NET 247: "creating popup menu"
- Next in thread: Peter Macej: "Re: creating popup menu"
- Reply: Peter Macej: "Re: creating popup menu"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Jun 2004 14:21:03 +0200
You must get first the command bar with
DTE.CommandBars.Item(sCommandBarName) and then you can use
CommandBar.Controls.Add(...) or Command.AddControl(...).
I think that the command bar name for projects is "Project", but there are
other command bars for multi-project selection, etc.
-- 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) "omayma gouda via .NET 247" <anonymous@dotnet247.com> escribió en el mensaje news:uRykXjyTEHA.3480@TK2MSFTNGP11.phx.gbl... > (Type your message here) > > -------------------------------- > From: omayma gouda > > I'm developing an add-in for VS.NET. I would like to > create my own popup menu attached to the popup menu > displaying when user right-clicks on a project. How can I > do this in details pleas?? > > ----------------------- > Posted by a user from .NET 247 (http://www.dotnet247.com/) > > <Id>Lp+pDhQ7h0uWdCuiEucCrA==</Id>
- Next message: Larry Bird: "How to enable tools the in the ToolBox"
- Previous message: [MSFT]: "RE: Web Form Inheritance Error (Non-Abstract Superclass)"
- In reply to: omayma gouda via .NET 247: "creating popup menu"
- Next in thread: Peter Macej: "Re: creating popup menu"
- Reply: Peter Macej: "Re: creating popup menu"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|