<?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 : HOWTO: Use SVG graphics in CXTPButton control</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : HOWTO: Use SVG graphics in CXTPButton control]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 19:12:24 +0000</pubDate>
  <lastBuildDate>Fri, 07 Nov 2025 16:31:34 +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=24610</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[HOWTO: Use SVG graphics in CXTPButton control : We use Direct2D to render the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24610&amp;PID=79303&amp;title=howto-use-svg-graphics-in-cxtpbutton-control#79303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24610<br /><strong>Posted:</strong> 07 November 2025 at 4:31pm<br /><br /><div>We use Direct2D to render the SVG to a bitmap taking into account any padding I find the the CJ drawing code and set the bitmap on the button.</div><div><br></div><div>We have been using D2D for a good while now and render bitmaps, icons etc. to put on our ribbon, dialogs, image lists etc. If CJ's SVG support has any api to render a bitmap or icon you can set the bitmap or icon on a button or static and use BS_BITMAP or SS_BITMAP (/ICON).</div><div><br></div><div>Does present a bit of pain when supporting all the Windows DPI contexts since they are pre-rendered.</div>]]>
   </description>
   <pubDate>Fri, 07 Nov 2025 16:31:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24610&amp;PID=79303&amp;title=howto-use-svg-graphics-in-cxtpbutton-control#79303</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Use SVG graphics in CXTPButton control : Hi;How can I use a SVG graphic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24610&amp;PID=79299&amp;title=howto-use-svg-graphics-in-cxtpbutton-control#79299</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24610<br /><strong>Posted:</strong> 10 October 2025 at 1:18pm<br /><br /><div>Hi;</div><div><br></div><div>How can I use a SVG graphic in a CXTPButton derived control?</div><div><br></div><div>TIA</div>]]>
   </description>
   <pubDate>Fri, 10 Oct 2025 13:18:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24610&amp;PID=79299&amp;title=howto-use-svg-graphics-in-cxtpbutton-control#79299</guid>
  </item> 
 </channel>
</rss>