<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : ContextMenu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : ContextMenu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:44:06 +0000</pubDate>
  <lastBuildDate>Mon, 07 Feb 2011 03:43:37 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17839</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[ContextMenu : Ok, I found it out. For all who...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17839&amp;PID=62431&amp;title=contextmenu#62431</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2923">Pixbyte</a><br /><strong>Subject:</strong> 17839<br /><strong>Posted:</strong> 07 February 2011 at 3:43am<br /><br />Ok, I found it out. For all who are looking for the same:<div><br></div><div><div>CMenu menu;</div><div>menu.LoadMenu(IDR_MENQUEUE);</div><div>CMenu* pPopup = menu.GetSubMenu(0);</div><div><br></div><div>CXTPCommandBars* pCommandBars = GetCommandBars();</div><div>UINT nCmd = static_cast&lt;UINT&gt;(CXTPCommandBars::TrackPopupMenu(pPopup,TPM_RIGHTBUTTON | TPM_LEFTALIGN, dwStyle == xtpButtonDropDownRight ? rect.right : rect.left, dwStyle == xtpButtonDropDownRight ? rect.top : rect.bottom, this, NULL, 0, pCommandBars));</div></div><div><br></div><div>Cause it is a CommandBar, the Flag:&nbsp;TPM_RETURNCMD will not work. You have to use the common "OnCommand" function like with the other Menu. If the Image Manager contain a image for the submenu IDs, you will have icons in the submenu, too.</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 07 Feb 2011 03:43:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17839&amp;PID=62431&amp;title=contextmenu#62431</guid>
  </item> 
  <item>
   <title><![CDATA[ContextMenu : Hello,how to make context menu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17839&amp;PID=62427&amp;title=contextmenu#62427</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2923">Pixbyte</a><br /><strong>Subject:</strong> 17839<br /><strong>Posted:</strong> 06 February 2011 at 8:01am<br /><br />Hello,<div><br></div><div>how to make context menu the same style as commandbars? Is it possible to "clone" a commandbar Menu to a context menu?</div><div><br></div><div>Ocrana</div>]]>
   </description>
   <pubDate>Sun, 06 Feb 2011 08:01:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17839&amp;PID=62427&amp;title=contextmenu#62427</guid>
  </item> 
 </channel>
</rss>