<?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 : Button transparent background problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Button transparent background problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 06:26:13 +0000</pubDate>
  <lastBuildDate>Tue, 05 Oct 2010 15:12:33 +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=17316</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[Button transparent background problem : Thank You very much. This helps...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17316&amp;PID=60710&amp;title=button-transparent-background-problem#60710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4155">miatu</a><br /><strong>Subject:</strong> 17316<br /><strong>Posted:</strong> 05 October 2010 at 3:12pm<br /><br />Thank You very much. This helps]]>
   </description>
   <pubDate>Tue, 05 Oct 2010 15:12:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17316&amp;PID=60710&amp;title=button-transparent-background-problem#60710</guid>
  </item> 
  <item>
   <title><![CDATA[Button transparent background problem : Hi,Please create Brush from your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17316&amp;PID=60495&amp;title=button-transparent-background-problem#60495</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17316<br /><strong>Posted:</strong> 27 September 2010 at 7:10am<br /><br />Hi,<div><br></div><div>Please create Brush from your birmap and return it in&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">CtlColor instead of&nbsp;</span><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">HOLLOW_BRUSH.</span></div>]]>
   </description>
   <pubDate>Mon, 27 Sep 2010 07:10:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17316&amp;PID=60495&amp;title=button-transparent-background-problem#60495</guid>
  </item> 
  <item>
   <title><![CDATA[Button transparent background problem : Hi. I have a problem with button...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17316&amp;PID=60453&amp;title=button-transparent-background-problem#60453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4155">miatu</a><br /><strong>Subject:</strong> 17316<br /><strong>Posted:</strong> 24 September 2010 at 11:29am<br /><br />Hi. I have a problem with button transparent background. I have a dialog based application. I draw background on it. When i use skin i have black background under radio button and checkbox(view attach). When i don't use style all is ok. Help, please.<div><div><div><br></div><div>XTPSkinManager()-&gt;LoadSkin(L"\\Styles\\iTunes", L"Normalitunes.INI");</div></div></div><div><br></div><div>For buttons i use this class:</div><div><br></div><div><div>class TransparentButton : public CButton</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>DECLARE_DYNAMIC(TransparentButton)</div><div><br></div><div>protected:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>DECLARE_MESSAGE_MAP()</div><div><br></div><div>public:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>afx_msg HBRUSH CtlColor(CDC* dc, UINT ctlColor);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>afx_msg BOOL OnEraseBkgnd(CDC* dc);</div><div>};</div></div><div><br></div><div><div>IMPLEMENT_DYNAMIC(TransparentButton, CButton)</div><div><br></div><div>BEGIN_MESSAGE_MAP(TransparentButton, CButton)</div><div>&nbsp;&nbsp; ON_WM_CTLCOLOR_REFLECT()</div><div>&nbsp;&nbsp; ON_WM_ERASEBKGND()</div><div>END_MESSAGE_MAP()</div><div><br></div><div>HBRUSH&nbsp;TransparentButton::CtlColor(CDC* dc, UINT ctlColor)</div><div>{</div><div>&nbsp;&nbsp; dc-&gt;SetBkMode(TRANSPARENT);</div><div>&nbsp;&nbsp; return (HBRUSH)GetStockObject(HOLLOW_BRUSH);</div><div>}</div><div><br></div><div>BOOL&nbsp;TransparentButton::OnEraseBkgnd(CDC* dc)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>return TRUE;</div><div>}</div><div><a href="uploads/4155/with_skin.rar" target="_blank">uploads/4155/with_skin.rar</a></div></div><div><a href="uploads/4155/without_skin.rar" target="_blank">uploads/4155/without_skin.rar</a><br></div>]]>
   </description>
   <pubDate>Fri, 24 Sep 2010 11:29:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17316&amp;PID=60453&amp;title=button-transparent-background-problem#60453</guid>
  </item> 
 </channel>
</rss>