<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Dynamic Menu Commands in Visual Studio Packages &#8211; Part 2</title>
	<atom:link href="http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 22 Sep 2011 22:12:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Andy</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-60</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 07 Jul 2010 16:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-60</guid>
		<description>Hello, Great post, however I wanted to go 1 step further, i.e. if I select multiple files in VS solution explorer context menu, the following line returns null &#039;value&#039;:
hierarchy.GetProperty(projectItemId, (int)__VSHPROPID.VSHPROPID_Name, out value);
If only 1 file is selected then I get the name of that file using &quot;value.ToString()&quot;

Any suggestion on how to get names of multiple files selected?

Many thanks !</description>
		<content:encoded><![CDATA[<p>Hello, Great post, however I wanted to go 1 step further, i.e. if I select multiple files in VS solution explorer context menu, the following line returns null &#8216;value&#8217;:<br />
hierarchy.GetProperty(projectItemId, (int)__VSHPROPID.VSHPROPID_Name, out value);<br />
If only 1 file is selected then I get the name of that file using &#8220;value.ToString()&#8221;</p>
<p>Any suggestion on how to get names of multiple files selected?</p>
<p>Many thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mpb</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-59</link>
		<dc:creator>mpb</dc:creator>
		<pubDate>Fri, 28 May 2010 20:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-59</guid>
		<description>Hi, great post!
Found this very helpful!

Have implemented a similar solution explorer contextmenu item on a specific projecttype.
It does show up, with bitmap etc. and with right condition..
The &#039;query&#039; handler doesn&#039;t get interrogated though when the contextmenu opens nor
does the &#039;click&#039; handler get hit either... 
This a specific limitation?
Any suggestions?

regards.</description>
		<content:encoded><![CDATA[<p>Hi, great post!<br />
Found this very helpful!</p>
<p>Have implemented a similar solution explorer contextmenu item on a specific projecttype.<br />
It does show up, with bitmap etc. and with right condition..<br />
The &#8216;query&#8217; handler doesn&#8217;t get interrogated though when the contextmenu opens nor<br />
does the &#8216;click&#8217; handler get hit either&#8230;<br />
This a specific limitation?<br />
Any suggestions?</p>
<p>regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter &#187; Blog Archive &#187; Dynamic Menu Commands in Visual Studio Packages - Part 1</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-58</link>
		<dc:creator>David DeWinter &#187; Blog Archive &#187; Dynamic Menu Commands in Visual Studio Packages - Part 1</dc:creator>
		<pubDate>Wed, 04 Feb 2009 01:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-58</guid>
		<description>[...] Part 2 - The BeforeQueryStatus Event [...] </description>
		<content:encoded><![CDATA[<p>[...] Part 2 &#8211; The BeforeQueryStatus Event [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-57</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 29 Jul 2008 14:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-57</guid>
		<description>Hi
Thanks, I saw it in the sample project. 
Very nice post by the way. 
It has been of immeasurable help to me.
Regards.</description>
		<content:encoded><![CDATA[<p>Hi<br />
Thanks, I saw it in the sample project.<br />
Very nice post by the way.<br />
It has been of immeasurable help to me.<br />
Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-56</link>
		<dc:creator>David DeWinter</dc:creator>
		<pubDate>Tue, 29 Jul 2008 04:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-56</guid>
		<description>Peter, please accept my apologies. You need to reference the GUID and CmdID from a GuidSymbol element at the bottom of the VSCT file. I&#039;ve updated my post to reflect that.

The associated solution (link at the bottom of the post) also demonstrates this.</description>
		<content:encoded><![CDATA[<p>Peter, please accept my apologies. You need to reference the GUID and CmdID from a GuidSymbol element at the bottom of the VSCT file. I&#8217;ve updated my post to reflect that.</p>
<p>The associated solution (link at the bottom of the post) also demonstrates this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-55</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 29 Jul 2008 01:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-55</guid>
		<description>Hi
I was very interested in your excellent article.
However, I have been having some issues with the second part, that is adding the context menu item for
a particular file type.

From the article:
Piece of cake! We can now change the Group element’s parent to look like this, and we’re well on our way: (It is probably a better idea to put the GUID and ID inside the Symbols element so it can re-referenced more easily.)


  


I get an error that complains about the Parent guid and id. 
Am I missing something obvious?

Regards</description>
		<content:encoded><![CDATA[<p>Hi<br />
I was very interested in your excellent article.<br />
However, I have been having some issues with the second part, that is adding the context menu item for<br />
a particular file type.</p>
<p>From the article:<br />
Piece of cake! We can now change the Group element’s parent to look like this, and we’re well on our way: (It is probably a better idea to put the GUID and ID inside the Symbols element so it can re-referenced more easily.)</p>
<p>I get an error that complains about the Parent guid and id.<br />
Am I missing something obvious?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LearnVSXNow! #18 - Advanced VSCT concepts - DiveDeeper blog</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-54</link>
		<dc:creator>LearnVSXNow! #18 - Advanced VSCT concepts - DiveDeeper blog</dc:creator>
		<pubDate>Wed, 16 Apr 2008 22:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-54</guid>
		<description>[...] Before going again into the structure of .vsct files I would like to turn your attention to David DeWinter’s blog. David wrote two great articles on creating dynamic menus in VS. You can find them here: Part #1 and Part #2. [...] </description>
		<content:encoded><![CDATA[<p>[...] Before going again into the structure of .vsct files I would like to turn your attention to David DeWinter’s blog. David wrote two great articles on creating dynamic menus in VS. You can find them here: Part #1 and Part #2. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David DeWinter &#187; Blog Archive &#187; Dynamic Menu Commands in Visual Studio Packages - Part 3</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-53</link>
		<dc:creator>David DeWinter &#187; Blog Archive &#187; Dynamic Menu Commands in Visual Studio Packages - Part 3</dc:creator>
		<pubDate>Sun, 06 Apr 2008 01:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-53</guid>
		<description>[...] Part 2 - Discusses the use of the BeforyQueryStatus event to provide more flexibility than built-in UI contexts. [...] </description>
		<content:encoded><![CDATA[<p>[...] Part 2 &#8211; Discusses the use of the BeforyQueryStatus event to provide more flexibility than built-in UI contexts. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DiveDeeper</title>
		<link>http://davedewinter.com/2008/03/22/dynamic-menu-commands-in-visual-studio-packages-part-2/#comment-52</link>
		<dc:creator>DiveDeeper</dc:creator>
		<pubDate>Mon, 24 Mar 2008 07:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.rev-net.com/ddewinter/?p=72#comment-52</guid>
		<description>I like this article putting together the pieces of elements for dynamic menus. It seems that we are going along the same track. I have just discovered ProvideAutoLoad attribute (due to the search for hooking solution events) on the day you have published your blog. Thanks for this great article!</description>
		<content:encoded><![CDATA[<p>I like this article putting together the pieces of elements for dynamic menus. It seems that we are going along the same track. I have just discovered ProvideAutoLoad attribute (due to the search for hooking solution events) on the day you have published your blog. Thanks for this great article!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

