<?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 change the CXTPStatusBar Theme !?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to change the CXTPStatusBar Theme !?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 06:43:23 +0000</pubDate>
  <lastBuildDate>Mon, 01 Jul 2013 23:43: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=21762</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 change the CXTPStatusBar Theme !? : I have declared a new theme forCXTPStatusBarclass...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21762&amp;PID=71278&amp;title=how-to-change-the-cxtpstatusbar-theme#71278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6515">tomay3000</a><br /><strong>Subject:</strong> 21762<br /><strong>Posted:</strong> 01 July 2013 at 11:43pm<br /><br /><div>I have declared a new theme for&nbsp;<b>CXTPStatusBar</b></div><div><b><br></b></div><b><span style="line-height: 1.4;">class CXTPStatusBarOffice2003Theme : public CXTPCommandBarsOffice2003Theme</span></b><div><b>{</b></div><div><b>public:</b></div><div><b><span ="Apple-tab-span" style="white-space:pre">	</span>void FillStatusBar(CDC* pDC, CXTPStatusBar* pStatusBar)</b></div><div><b><span ="Apple-tab-span" style="white-space:pre">	</span>{</b></div><div><b><span ="Apple-tab-span" style="white-space:pre">		</span>pDC-&gt;FillSolidRect(CXTPClientRect(pStatusBar), XTPColorManager()-&gt;grcDockBar.clrDark);</b></div><div><b><span ="Apple-tab-span" style="white-space:pre">		</span>//XTPDrawHelpers()-&gt;GradientFill(pDC, CXTPClientRect(pStatusBar), XTPColorManager()-&gt;grcDockBar, FALSE); // Or Gradient.</b></div><div><b><span ="Apple-tab-span" style="white-space:pre">	</span>}</b></div><div><b>};</b></div><div><br></div><div>Then on&nbsp;CMainFrame::OnCreate(), I have called:</div><div><b>CXTPPaintManager::SetCustomTheme(new CXTPStatusBarOffice2003Theme());</b></div><div><br></div><div>But unfortunately, the theme appears non changeable.</div><div><br></div><div>What is the problem here !?</div><div><br></div><div>Thank you for you understanding.</div>]]>
   </description>
   <pubDate>Mon, 01 Jul 2013 23:43:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21762&amp;PID=71278&amp;title=how-to-change-the-cxtpstatusbar-theme#71278</guid>
  </item> 
 </channel>
</rss>