<?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 set statusbar theme?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to set statusbar theme?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 05:52:10 +0000</pubDate>
  <lastBuildDate>Thu, 11 Oct 2007 06:50:35 +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=8381</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 set statusbar theme? : Hi,For getting color of the control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27220&amp;title=how-to-set-statusbar-theme#27220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 8381<br /><strong>Posted:</strong> 11 October 2007 at 6:50am<br /><br />Hi,<br><br>For getting color of the control you can use:<br><br>COLORREF m_clrPopupBarGripperShadow; <br>m_clrPopupBarGripperShadow = NULL;<br>m_clrPopupBarGripperShadow = XTPColorManager()-&gt;grcDockBar.clrDark;<br>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 06:50:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27220&amp;title=how-to-set-statusbar-theme#27220</guid>
  </item> 
  <item>
   <title><![CDATA[How to set statusbar theme? : Hi, OlegI take that this means...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27218&amp;title=how-to-set-statusbar-theme#27218</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3104">MacW</a><br /><strong>Subject:</strong> 8381<br /><strong>Posted:</strong> 11 October 2007 at 6:32am<br /><br />Hi, Oleg<br><br>I take that this means that there is no way to "officially" get the status bar colors, except using the hard coded RGB values in the source code? And when CJ later changes the theme, I need to adjust and recompile my application...<br>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 06:32:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27218&amp;title=how-to-set-statusbar-theme#27218</guid>
  </item> 
  <item>
   <title><![CDATA[How to set statusbar theme? : Hi Oleg,My class CMyStatusBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27209&amp;title=how-to-set-statusbar-theme#27209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 8381<br /><strong>Posted:</strong> 11 October 2007 at 1:16am<br /><br />Hi Oleg,<br><br>My class CMyStatusBar is derived from CXTPStatusBar.<br>Previously I am deriving it from CXTStatusBar.<br><br>What might be the problem?<br><br>Thanks in advance.<br>]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 01:16:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27209&amp;title=how-to-set-statusbar-theme#27209</guid>
  </item> 
  <item>
   <title><![CDATA[How to set statusbar theme? : See code on top. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27205&amp;title=how-to-set-statusbar-theme#27205</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8381<br /><strong>Posted:</strong> 11 October 2007 at 12:34am<br /><br />See code on top.]]>
   </description>
   <pubDate>Thu, 11 Oct 2007 00:34:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27205&amp;title=how-to-set-statusbar-theme#27205</guid>
  </item> 
  <item>
   <title><![CDATA[How to set statusbar theme? : incidentally...I use a custom...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27187&amp;title=how-to-set-statusbar-theme#27187</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3104">MacW</a><br /><strong>Subject:</strong> 8381<br /><strong>Posted:</strong> 10 October 2007 at 2:52pm<br /><br />incidentally...I use a custom type of status bar in my application for some controls.<br><br>If I want to match the colors used in these components to the colors used by the XTP status bar, how could I do that. Is there a way to get the colors XTP uses to draw the status bar, even if themes are used?]]>
   </description>
   <pubDate>Wed, 10 Oct 2007 14:52:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27187&amp;title=how-to-set-statusbar-theme#27187</guid>
  </item> 
  <item>
   <title><![CDATA[How to set statusbar theme? : Hi,  Did you replace CStatusBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27180&amp;title=how-to-set-statusbar-theme#27180</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8381<br /><strong>Posted:</strong> 10 October 2007 at 1:58pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Did you replace CStatusBar to CXTPStausBar in members of CMainFrame ?</DIV>]]>
   </description>
   <pubDate>Wed, 10 Oct 2007 13:58:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27180&amp;title=how-to-set-statusbar-theme#27180</guid>
  </item> 
  <item>
   <title><![CDATA[How to set statusbar theme? : Hi Oleg,I have gone through the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27162&amp;title=how-to-set-statusbar-theme#27162</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 8381<br /><strong>Posted:</strong> 10 October 2007 at 7:44am<br /><br />Hi Oleg,<br><br>I have gone through the steps mentioned in following discussion forum to set statusbar theme.<br><br><strong>StatusBar Theme?<br><br></strong>https://forum.codejock.com/forum_posts.asp?TID=7361&amp;KW=CXTPOffice2003Theme<br><br>My Code: (In .CPP file)<br><br><b>class CStatusBarTheme : public CXTPOffice2003Theme</b><br>{<br>&nbsp;&nbsp; void FillStatusBar(CDC* pDC,CXTPStatusBar* pBar)<br>&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLORREF m_clrPopupBarGripperShadow; //m_clrPopupBarBorder<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_clrPopupBarGripperShadow = NULL;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch (XTPColorManager()-&gt;GetCurrentSystemTheme())<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case xtpSystemThemeBlue:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //m_clrPopupBarBorder = RGB(64, 134, 228);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_clrPopupBarGripperShadow = RGB(136, 181, 237);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case xtpSystemThemeOlive:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //m_clrPopupBarBorder = RGB(142, 152, 102);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_clrPopupBarGripperShadow = RGB(181, 187, 159);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case xtpSystemThemeSilver:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //m_clrPopupBarBorder = RGB(166, 167, 193);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_clrPopupBarGripperShadow = RGB(226, 226, 225);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_clrPopupBarGripperShadow = &nbsp;&nbsp;&nbsp;&nbsp; XTPColorManager()-&gt;grcDockBar.clrDark;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pDC-&gt;FillSolidRect(CXTPClientRect(pBar), m_clrPopupBarGripperShadow /*grcDockBar.clrDark*/);<br>&nbsp;&nbsp; }<br>};<br><br>Call from my function after creating statusbar is as follows:<br><br><b>XTPPaintManager()-&gt;SetCustomTheme(new CStatusBarTheme());<br><font color="#ff0000"><br>But FillStatusBar Never gets called :(<br><br></font></b><font color="#000000">What is the solution for this problem?<br><br>Thanks in advance.</font><b><font color="#ff0000"><br></font></b><br>]]>
   </description>
   <pubDate>Wed, 10 Oct 2007 07:44:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8381&amp;PID=27162&amp;title=how-to-set-statusbar-theme#27162</guid>
  </item> 
 </channel>
</rss>