<?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 : CommandBar SetIconId = Blank image</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CommandBar SetIconId = Blank image]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:30:17 +0000</pubDate>
  <lastBuildDate>Wed, 22 Oct 2014 07:54:03 +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=22439</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[CommandBar SetIconId = Blank image : Ok,What did I find. I found th...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22439&amp;PID=72849&amp;title=commandbar-seticonid-blank-image#72849</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 22439<br /><strong>Posted:</strong> 22 October 2014 at 7:54am<br /><br />Ok,<div><br></div><div>What did I find. I found that&nbsp;</div><div><br></div><div><font color="#330000">XTPImageManager()-&gt;SetIcons(........)</font> converts PNG or BMP files to Icons</div><div><br></div><div>BUT</div><div><br></div><div><font color="#330000">XTPImageManager()-&gt;SetIcon(....)</font> and <font color="#330000">PControl-&gt;SetIconId</font> expects exclusively ICONS without the option to convert other formats (like png or bmp) to Icons.&nbsp;</div><div><br></div><div>So if you try to use&nbsp;<span style="line-height: 16.7999992370605px;"><font color="#330000">XTPImageManager()-&gt;SetIcon(....)</font> with PNG your get Blank Dreams !</span></div><div><span style="line-height: 16.7999992370605px;"><br></span></div><div><span style="line-height: 16.7999992370605px;">Any recommendations ?</span></div><div><span style="line-height: 16.7999992370605px;"><br></span></div><div><span style="line-height: 16.7999992370605px;">Regards,</span></div><div><span style="line-height: 16.7999992370605px;"><br></span></div><div><span style="line-height: 16.7999992370605px;"><br></span></div>]]>
   </description>
   <pubDate>Wed, 22 Oct 2014 07:54:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22439&amp;PID=72849&amp;title=commandbar-seticonid-blank-image#72849</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar SetIconId = Blank image : Hi,I am trying to change an image...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22439&amp;PID=72844&amp;title=commandbar-seticonid-blank-image#72844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 22439<br /><strong>Posted:</strong> 20 October 2014 at 4:21am<br /><br />Hi,<div><br></div><div>I am trying to change an image icon to a&nbsp;CXTPControl in the command bars but instead I get blank image. The code I use is that is shown below :</div><div><br></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>CXTPControl<span ="Apple-tab-span" style="white-space:pre">			</span>*m_pAttachmentControl;</font></div><div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>...............</font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>m_pAttachmentControl = pGroup-&gt;Add(xtpControlButton, IDS_BUTTON_ATTACHMENT);</font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>m_pAttachmentControl-&gt;SetStyle(xtpButtonIconAndCaptionBelow);</font></div></div><div><font size="1" color="#ff0000"><br></font></div><div><font size="1" color="#ff0000"><br></font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>..................</font></div><div><font size="1" color="#ff0000"><br></font></div><div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>if (CheckIfExistFileProjects()) {<span ="Apple-tab-span" style="line-height: 1.4; white-space: pre;">		</span></font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">		</span>m_pAttachmentControl-&gt;SetIconId(IDB_PNG_ATTACHMENT_FULL);</font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">		</span>m_pAttachmentControl-&gt;RedrawParent();</font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>} else {</font></div><div><font size="1" color="#ff0000"><br></font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">		</span>m_pAttachmentControl-&gt;SetIconId(IDB_PNG_ATTACHMENT_EMPTY);</font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">		</span>m_pAttachmentControl-&gt;RedrawParent();</font></div><div><font size="1" color="#ff0000"><span ="Apple-tab-span" style="white-space:pre">	</span>}</font></div></div><div><br></div><div>What seems to be the problem in my code ?</div><div><br></div><div>Regards,</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 20 Oct 2014 04:21:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22439&amp;PID=72844&amp;title=commandbar-seticonid-blank-image#72844</guid>
  </item> 
 </channel>
</rss>