<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to host an IContextMenu, part 4 - Key context</title><link>http://blogs.msdn.com/oldnewthing/archive/2004/09/24/234113.aspx</link><description>Conveying the keyboard state to the context menu handler.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How to host an IContextMenu, part 4 - Key context</title><link>http://blogs.msdn.com/oldnewthing/archive/2004/09/24/234113.aspx#234225</link><pubDate>Sat, 25 Sep 2004 16:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:234225</guid><dc:creator>Dave</dc:creator><description>&amp;gt;&amp;gt; Warning: Before playing with this, make sure that you have enabled delete confirmation warnings or you will end up deleting your clock.avi file for real! If you want to play around with the Delete option, you may want to tweak the program so it operates on a file you don't mind losing. &amp;lt;&amp;lt;&lt;br&gt;&lt;br&gt;Of course, if we are good little programmers, we shouldn't be running as administrator.</description></item><item><title>re: How to host an IContextMenu, part 4 - Key context</title><link>http://blogs.msdn.com/oldnewthing/archive/2004/09/24/234113.aspx#234369</link><pubDate>Sun, 26 Sep 2004 12:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:234369</guid><dc:creator>ep</dc:creator><description>if (GetKeyState(VK_SHIFT) &amp;lt; 0) &lt;br&gt;{&lt;br&gt;  Call QueryContextMenu with CMF_EXTENDEDVERBS&lt;br&gt;}&lt;br&gt;&lt;br&gt;</description></item><item><title>re: How to host an IContextMenu, part 4 - Key context</title><link>http://blogs.msdn.com/oldnewthing/archive/2004/09/24/234113.aspx#234446</link><pubDate>Sun, 26 Sep 2004 21:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:234446</guid><dc:creator>Jim</dc:creator><description>Nice set of articles that are long over due!  I have a question that a bit more along the lines of the first article that has to do with the verb to invoke.  &lt;br&gt;&lt;br&gt;I have found that depending on the IShellFolder executing the &amp;quot;verb&amp;quot; string can lead to results that are different than if you execute the same through explorer.  I can't recall the exact example but I found that if I take the requested &amp;quot;verb&amp;quot; to execute and compare it to what I get back from GetCommandString and if equal (i.e. it is a common verb) I then instead of setting lpVerb to the &amp;quot;verb&amp;quot; I use MakeIntResource to set lpVerb I get consistent results with Explorer.  Can you elaborate on that more?&lt;br&gt;&lt;br&gt;The only note in my code I put was this:&lt;br&gt;&lt;br&gt;{The result of using the 'verb' string and the MakeIntResource is different expecially on system folders.  This forces it to use  MakeIntResource if it can}</description></item><item><title>Shell Extensibility in Longhorn</title><link>http://blogs.msdn.com/oldnewthing/archive/2004/09/24/234113.aspx#241703</link><pubDate>Wed, 13 Oct 2004 16:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:241703</guid><dc:creator>notgartner.com: Mitch Denny's Blog</dc:creator><description /></item><item><title>IContextMenu のホスト方法 - Shell</title><link>http://blogs.msdn.com/oldnewthing/archive/2004/09/24/234113.aspx#558161</link><pubDate>Wed, 22 Mar 2006 20:33:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:558161</guid><dc:creator>社本＠ワック Blog</dc:creator><description>IContextMenu のホスト方法 - Shell</description></item><item><title>Why doesn't the Shutdown dialog use Alt to get alternate behavior?</title><link>http://blogs.msdn.com/oldnewthing/archive/2004/09/24/234113.aspx#762060</link><pubDate>Tue, 19 Sep 2006 17:00:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:762060</guid><dc:creator>The Old New Thing</dc:creator><description>Because Alt already has other meaning.</description></item></channel></rss>