<?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 : CXTPButton::GetButtonBackColor doesn&#039;t work</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPButton::GetButtonBackColor doesn&#039;t work]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 23:13:20 +0000</pubDate>
  <lastBuildDate>Sat, 26 Sep 2020 10:14:09 +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=24069</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[CXTPButton::GetButtonBackColor doesn&#039;t work : I found this myself. You have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24069&amp;PID=77873&amp;title=cxtpbuttongetbuttonbackcolor-doesnt-work#77873</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7886">UglySwede</a><br /><strong>Subject:</strong> 24069<br /><strong>Posted:</strong> 26 September 2020 at 10:14am<br /><br /><p ="Mso"><span lang="EN-US">I foundthis myself. You have to call SetUseVisualStyle(FALSE) for the button - otherwiseGetButtonBackColor() never gets called.</span></p><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;  mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:  minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&quot;Times New Roman&quot;;  mso-bidi-theme-font:minor-bidi;mso-ansi-:EN-US;mso-fareast-:  EN-US;mso-bidi-:AR-SA">/Anders</span>]]>
   </description>
   <pubDate>Sat, 26 Sep 2020 10:14:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24069&amp;PID=77873&amp;title=cxtpbuttongetbuttonbackcolor-doesnt-work#77873</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPButton::GetButtonBackColor doesn&#039;t work : Hi!I want to set the background...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24069&amp;PID=77869&amp;title=cxtpbuttongetbuttonbackcolor-doesnt-work#77869</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7886">UglySwede</a><br /><strong>Subject:</strong> 24069<br /><strong>Posted:</strong> 24 September 2020 at 1:31pm<br /><br />Hi!<p ="Mso">I wantto set the background color for a CXTPButton control, but I can't get it towork. :-(</p><p ="Mso">I overridethe virtual GetButtonBackColor() and return the COLORREF I want. (Like in http://forum.codejock.com/forum_posts.asp?TID=18969&amp;title=cxtpbutton)But nothing happens. I override GetButtonTextColor() the same way to set thetext color, and that works fine. (I'm not using SetTheme. My application uses skins,but it doesn't help if I disable all skinning.)</p><p ="Mso">Any ideawhat could be wrong? I'd be very grateful for any help! :-) I'm currently usingToolkit Pro 18.6, but will be upgrading to 19.2 soon.</p><p ="Mso"><span style="font-family: Calibri, sans-serif; font-size: 11pt;">/Anders from Sweden</span></p>]]>
   </description>
   <pubDate>Thu, 24 Sep 2020 13:31:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24069&amp;PID=77869&amp;title=cxtpbuttongetbuttonbackcolor-doesnt-work#77869</guid>
  </item> 
 </channel>
</rss>