<?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 : Using PNG with CXTButton?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Using PNG with CXTButton?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 12:16:56 +0000</pubDate>
  <lastBuildDate>Fri, 12 Oct 2012 04:00:24 +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=4872</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[Using PNG with CXTButton? : That shows the png alright, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=69072&amp;title=using-png-with-cxtbutton#69072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7683">Hmbucker</a><br /><strong>Subject:</strong> 4872<br /><strong>Posted:</strong> 12 October 2012 at 4:00am<br /><br />That shows the png alright, but it looses the skinning of the button???<div>So I guess the only possible solution is to derive a button call CButton::OnPaint(); and then draw your own png right?</div><div>A bit a pity though, as I would expect such an expensive tool to do that for me...</div>]]>
   </description>
   <pubDate>Fri, 12 Oct 2012 04:00:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=69072&amp;title=using-png-with-cxtbutton#69072</guid>
  </item> 
  <item>
   <title><![CDATA[Using PNG with CXTButton? : Perfect! Works great -- Many thanks!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=15216&amp;title=using-png-with-cxtbutton#15216</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2270">loqqus</a><br /><strong>Subject:</strong> 4872<br /><strong>Posted:</strong> 25 August 2006 at 12:18am<br /><br />Perfect! Works great -- Many thanks!]]>
   </description>
   <pubDate>Fri, 25 Aug 2006 00:18:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=15216&amp;title=using-png-with-cxtbutton#15216</guid>
  </item> 
  <item>
   <title><![CDATA[Using PNG with CXTButton? : Hi,  Add Png file ro resources,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=15185&amp;title=using-png-with-cxtbutton#15185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4872<br /><strong>Posted:</strong> 24 August 2006 at 8:54am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Add Png file ro resources, load it</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;BOOL bAlphaBitmap = FALSE;<BR>HBITMAP hBitmap = CXTPImageManagerIcon::LoadBitmapFromResource(MAKEINTRESOURCE(nID), &amp;bAlphaBitmap);</DIV><DIV>&nbsp;</DIV><DIV>CXTPImageManagerIconHandle hIconHandle;</DIV><DIV>hIconHandle = hBitmap;&nbsp; // Will call DeleteObject;<BR></DIV><DIV>and call </DIV><DIV>btn.SetIcon(size, hIconHandle, CXTPImageManagerIconHandle(), TRUE);</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 24 Aug 2006 08:54:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=15185&amp;title=using-png-with-cxtbutton#15185</guid>
  </item> 
  <item>
   <title><![CDATA[Using PNG with CXTButton? : Is it possible to use a PNG with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=15175&amp;title=using-png-with-cxtbutton#15175</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2270">loqqus</a><br /><strong>Subject:</strong> 4872<br /><strong>Posted:</strong> 24 August 2006 at 4:40am<br /><br />Is it possible to use a PNG with CXTButton instead of a bmp or ico?  For example, in the Button Sample project, replace the bmps with pngs.<br /><br />If so, which member fn should I call, or do I need to convert the png to bmp?]]>
   </description>
   <pubDate>Thu, 24 Aug 2006 04:40:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4872&amp;PID=15175&amp;title=using-png-with-cxtbutton#15175</guid>
  </item> 
 </channel>
</rss>