<?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 : About CXTPControl::SetIconId()</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : About CXTPControl::SetIconId()]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 14:04:48 +0000</pubDate>
  <lastBuildDate>Fri, 06 Oct 2006 02:19:27 +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=5226</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[About CXTPControl::SetIconId() :   The &#8220;strange effect&#8221; is that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5226&amp;PID=16364&amp;title=about-cxtpcontrolseticonid#16364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2394">kle4o</a><br /><strong>Subject:</strong> 5226<br /><strong>Posted:</strong> 06 October 2006 at 2:19am<br /><br /><p ="Ms&#111;normal">The “strange effect” is that there are no icons shown.<span style=""> But&nbsp; in tooltip&nbsp; was the right icon. </span><o:p></o:p></p><p ="Ms&#111;normal">From the name of function I thought that this method setsresource identifier of an icon for the control. But it’s not true. The methodsets the identifier of iconset which will be used from the control. Theconfusion for me became from the following method:<o:p></o:p></p><p ="Ms&#111;normal">SetIcon(icon_id, command_id,…..) // setting the icon for thecontrol.<o:p></o:p></p><p ="Ms&#111;normal">In previous line icon_id is ID of resource icon. But in theSetIcon(icon_id) method, parameter icon_id is not resource identifier of anicon, but it’s a command_id.<o:p></o:p></p><p ="Ms&#111;normal">Maybe this is my confusion only, but from the help is notclear what kind of id is set.</p><p ="Ms&#111;normal">My code was:</p><p ="Ms&#111;normal"><font color="#669900">pControl-&gt;GetImageManager()-&gt;SetIcon(id1,id2);<br>pControl-&gt;SetIconId(id1);</font></p><p ="Ms&#111;normal">And there was no icon. So I had to change previous line to:</p><p ="Ms&#111;normal"><font color="#669900">pControl-&gt;SetIconId(id2);</font></p>]]>
   </description>
   <pubDate>Fri, 06 Oct 2006 02:19:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5226&amp;PID=16364&amp;title=about-cxtpcontrolseticonid#16364</guid>
  </item> 
  <item>
   <title><![CDATA[About CXTPControl::SetIconId() : What &amp;#034;strange effect&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5226&amp;PID=16355&amp;title=about-cxtpcontrolseticonid#16355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5226<br /><strong>Posted:</strong> 06 October 2006 at 12:20am<br /><br /><P>What "strange effect" you see?</P>]]>
   </description>
   <pubDate>Fri, 06 Oct 2006 00:20:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5226&amp;PID=16355&amp;title=about-cxtpcontrolseticonid#16355</guid>
  </item> 
  <item>
   <title><![CDATA[About CXTPControl::SetIconId() : Can some one explain what icon,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5226&amp;PID=16341&amp;title=about-cxtpcontrolseticonid#16341</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2394">kle4o</a><br /><strong>Subject:</strong> 5226<br /><strong>Posted:</strong> 05 October 2006 at 10:58am<br /><br /><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">Can some one explain what icon, action andcontrol identifiers are?</span><br>If you have a control and call method <b>CXTPControl::SetIconID </b>with identifier of icon different from control id, you'll see some strange effects.<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"> I think that this function must be renamed to <b>SetIconSetId</b>!]]>
   </description>
   <pubDate>Thu, 05 Oct 2006 10:58:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5226&amp;PID=16341&amp;title=about-cxtpcontrolseticonid#16341</guid>
  </item> 
 </channel>
</rss>