<?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 icon/png to an button</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : how to set icon/png to an button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 07:04:09 +0000</pubDate>
  <lastBuildDate>Wed, 19 Mar 2008 08:27:18 +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=9805</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 icon/png to an button : I need same to check what you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32399&amp;title=how-to-set-icon-png-to-an-button#32399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 19 March 2008 at 8:27am<br /><br /><P>I need same to check what you do.</P>]]>
   </description>
   <pubDate>Wed, 19 Mar 2008 08:27:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32399&amp;title=how-to-set-icon-png-to-an-button#32399</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : how to set it to some value other...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32365&amp;title=how-to-set-icon-png-to-an-button#32365</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 18 March 2008 at 7:01am<br /><br />how to set it to some&nbsp; value other than NULL]]>
   </description>
   <pubDate>Tue, 18 Mar 2008 07:01:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32365&amp;title=how-to-set-icon-png-to-an-button#32365</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : Just set it to NULL. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32070&amp;title=how-to-set-icon-png-to-an-button#32070</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 10 March 2008 at 4:30am<br /><br />Just set it to NULL.]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 04:30:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32070&amp;title=how-to-set-icon-png-to-an-button#32070</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : hi   what is the use of lbAl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32065&amp;title=how-to-set-icon-png-to-an-button#32065</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 10 March 2008 at 4:12am<br /><br />hi <DIV>&nbsp;</DIV><DIV>what is the use of lbAlphaBitmap.</DIV><DIV>LoadBitmapFromFile(LPCTSTR lpszFileName, BOOL* lbAlphaBitmap=0)</DIV><DIV>by default images is shown as black and white .how to set it to different value</DIV>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 04:12:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32065&amp;title=how-to-set-icon-png-to-an-button#32065</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : hi  what is the use of lbAlp...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32064&amp;title=how-to-set-icon-png-to-an-button#32064</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 10 March 2008 at 4:10am<br /><br />hi<DIV>&nbsp;</DIV><DIV>what is the use of lbAlphaBitmap.</DIV><DIV>LoadBitmapFromFile(LPCTSTR lpszFileName, BOOL* lbAlphaBitmap=0)</DIV><DIV>by default images is shown as black and white .how to set it to different value</DIV>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 04:10:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32064&amp;title=how-to-set-icon-png-to-an-button#32064</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : hi  thanks..  what do the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32063&amp;title=how-to-set-icon-png-to-an-button#32063</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 10 March 2008 at 4:09am<br /><br />hi<DIV>&nbsp;</DIV><DIV>thanks..</DIV><DIV>&nbsp;</DIV><DIV>what do the BOOL*lbAlphaBitmap do by default it is null</DIV><DIV>how to set it to some different value as for lbAlphaBitmap=0 image is shown as black and white</DIV>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 04:09:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32063&amp;title=how-to-set-icon-png-to-an-button#32063</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : Hi, 1. HBITMAP AFX_CDECL CXTP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32017&amp;title=how-to-set-icon-png-to-an-button#32017</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 07 March 2008 at 3:17pm<br /><br /><P>Hi,</P><DIV><BR>1. HBITMAP AFX_CDECL CXTPImageManagerIcon::LoadBitmapFromFile(LPCTSTR lpszFileName, BOOL* lbAlphaBitmap) to load bitmap</DIV><DIV>2. GetImageManager()-&gt;SetIcons(..) to&nbsp; add it to imagemanager.</DIV><DIV>3. DeleteObject to destroy</DIV>]]>
   </description>
   <pubDate>Fri, 07 Mar 2008 15:17:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=32017&amp;title=how-to-set-icon-png-to-an-button#32017</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : in the ribbonbar sample example...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=31990&amp;title=how-to-set-icon-png-to-an-button#31990</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 07 March 2008 at 4:59am<br /><br />in the ribbonbar sample example pngs are loaded using below<FONT size=2><P>UINT uiGroupFind&#091;&#093; = {ID_EDIT_FIND, ID_EDIT_REPLACE, ID_EDIT_GOTO, ID_EDIT_SELECT};</P><P>pCommandBars-&gt;GetImageManager()-&gt;SetIcons(ID_GROUP_FIND, uiGroupFind, _countof(uiGroupFind), CSize(16, 16));</P><DIV></DIV><P>&nbsp;</P><P>what if i have not added this png to resource file.</P><DIV></DIV>I want some other method which will load this png file given the full path of this file on the disk.<DIV>Any method which will take the file path as argument.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV></DIV>thanks</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 07 Mar 2008 04:59:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=31990&amp;title=how-to-set-icon-png-to-an-button#31990</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : hi  any solution to this? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=31985&amp;title=how-to-set-icon-png-to-an-button#31985</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 07 March 2008 at 12:53am<br /><br />hi<DIV>&nbsp;</DIV><DIV>any solution to this?</DIV>]]>
   </description>
   <pubDate>Fri, 07 Mar 2008 00:53:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=31985&amp;title=how-to-set-icon-png-to-an-button#31985</guid>
  </item> 
  <item>
   <title><![CDATA[how to set icon/png to an button : I am working on a ribbonbar application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=31949&amp;title=how-to-set-icon-png-to-an-button#31949</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3627">himanshu</a><br /><strong>Subject:</strong> 9805<br /><strong>Posted:</strong> 06 March 2008 at 2:20am<br /><br />I am working on a ribbonbar application wherein i have different tabs inside it<DIV>&nbsp;</DIV><DIV>Each tab contains <FONT color=#008000 size=2>xtpControlButton inside it</FONT></DIV><DIV><FONT color=#008000 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#008000 size=2>I want to set a png file for each one of them .How could i load them at runtime.</FONT></DIV><DIV><FONT color=#008000 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#008000 size=2>I have not included it inside the .rc file</FONT></DIV><DIV><FONT color=#008000 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#008000 size=2>Thanks in advance</FONT></DIV><DIV><FONT color=#008000 size=2>Himanshu</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 06 Mar 2008 02:20:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9805&amp;PID=31949&amp;title=how-to-set-icon-png-to-an-button#31949</guid>
  </item> 
 </channel>
</rss>