<?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 set icons to Context Menu?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to set icons to Context Menu?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 04:59:55 +0000</pubDate>
  <lastBuildDate>Sun, 30 May 2010 03:11:51 +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=16768</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 set icons to Context Menu? : Hi,  When you call XTPImageMan...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16768&amp;PID=58737&amp;title=how-to-set-icons-to-context-menu#58737</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16768<br /><strong>Posted:</strong> 30 May 2010 at 3:11am<br /><br />Hi,<br /><br />When you call XTPImageManager()-&gt;SetIcons(IDB_PNG_CONTEXT_ICONS) you also need Toolbar resource with buttons "describing" each image id.]]>
   </description>
   <pubDate>Sun, 30 May 2010 03:11:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16768&amp;PID=58737&amp;title=how-to-set-icons-to-context-menu#58737</guid>
  </item> 
  <item>
   <title><![CDATA[How to set icons to Context Menu? : I have this code to display a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16768&amp;PID=58729&amp;title=how-to-set-icons-to-context-menu#58729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 16768<br /><strong>Posted:</strong> 28 May 2010 at 5:25pm<br /><br />I have this code to display a context menu in a dialog.... <DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>if</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(point.x &lt; 0 || point.y &lt; 0 )</P><P>{</P><P>point.x = 0;</P><P>point.y = 0;</P><P>ClientToScreen(&amp;point);</P><P>}</P><P>CMenu myMenu;</P><P>myMenu.LoadMenu(IDR_POPUP_SELECT);</P><P>CMenu* myPopup = myMenu.GetSubMenu(0);</P><P></P><P>CXTPCommandBars::TrackPopupMenu(myPopup,TPM_LEFTALIGN| TPM_RIGHTBUTTON,point.x,point.y,</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>this</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>); </P><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>And I have 32bit, 24x24 pixels PNG image whih contains the context menu icons, I have tried <FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>XTPImageManager()</FONT></FONT>-&gt;SetIcons(IDB_PNG_CONTEXT_ICONS), but it did not work.</P></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 28 May 2010 17:25:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16768&amp;PID=58729&amp;title=how-to-set-icons-to-context-menu#58729</guid>
  </item> 
 </channel>
</rss>