<?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 : How to add Icon for ?TrackPopupMenu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to add Icon for ?TrackPopupMenu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 05:48:36 +0000</pubDate>
  <lastBuildDate>Fri, 20 Jun 2008 15:11:00 +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=11085</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[How to add Icon for ?TrackPopupMenu : Hi,  Check Samples\CommandBars\CustomThemes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=37122&amp;title=how-to-add-icon-for-trackpopupmenu#37122</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11085<br /><strong>Posted:</strong> 20 June 2008 at 3:11pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Check Samples\CommandBars\CustomThemes sample,</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jun 2008 15:11:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=37122&amp;title=how-to-add-icon-for-trackpopupmenu#37122</guid>
  </item> 
  <item>
   <title><![CDATA[How to add Icon for ?TrackPopupMenu : I switched it! but It can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=37069&amp;title=how-to-add-icon-for-trackpopupmenu#37069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4257">sanbao439</a><br /><strong>Subject:</strong> 11085<br /><strong>Posted:</strong> 20 June 2008 at 3:22am<br /><br /><P>I switched it! but It can't display icon!</P><P>Can you&nbsp;give me a sample about right-click menu?</P><P>I can't find the sample in your sample with XTPToolkitPro.</P><P>Thanks a lot.</P>]]>
   </description>
   <pubDate>Fri, 20 Jun 2008 03:22:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=37069&amp;title=how-to-add-icon-for-trackpopupmenu#37069</guid>
  </item> 
  <item>
   <title><![CDATA[How to add Icon for ?TrackPopupMenu : Code is right.   Just switch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=36902&amp;title=how-to-add-icon-for-trackpopupmenu#36902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11085<br /><strong>Posted:</strong> 18 June 2008 at 3:30am<br /><br />Code is right. <DIV>&nbsp;</DIV><DIV>Just switch pPopupBar-&gt;GetImageManager()-&gt;SetIcons</DIV><DIV>and </DIV><DIV>CXTPCommandBars::TrackPopupMenu</DIV><DIV>lines :-)</DIV>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 03:30:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=36902&amp;title=how-to-add-icon-for-trackpopupmenu#36902</guid>
  </item> 
  <item>
   <title><![CDATA[How to add Icon for ?TrackPopupMenu : I create a popupmenu, but don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=36899&amp;title=how-to-add-icon-for-trackpopupmenu#36899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4257">sanbao439</a><br /><strong>Subject:</strong> 11085<br /><strong>Posted:</strong> 18 June 2008 at 2:20am<br /><br />I create a popupmenu, but don't know how to add icon for it.<DIV>&nbsp;</DIV><DIV>CMenu menu;<BR>&nbsp;VERIFY(menu.LoadMenu(IDR_MENU_POPUP));<BR>&nbsp;CXTPPopupBar* pPopupBar = CXTPPopupBar::CreatePopupBar(GetCommandBars());<BR>&nbsp;&nbsp;&nbsp; CMenu* pPopup = menu.GetSubMenu(0); <BR>&nbsp;pPopupBar-&gt;LoadMenu(pPopup);<BR>&nbsp;&nbsp;&nbsp; CXTPCommandBars::TrackPopupMenu(pPopupBar, (TPM_RECURSE | TPM_RIGHTBUTTON | TPM_NONOTIFY), <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point.x, point.y, this);<BR>&nbsp;pPopupBar-&gt;GetImageManager()-&gt;SetIcons(IDB_BITMAP_TREE, IDR_MAINFRAME_ALPHA, xtpImageNormal);<BR>&nbsp;pPopupBar-&gt;InternalRelease();<BR>&nbsp;pPopupBar = NULL;</DIV>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 02:20:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11085&amp;PID=36899&amp;title=how-to-add-icon-for-trackpopupmenu#36899</guid>
  </item> 
 </channel>
</rss>