<?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 : Custom themes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Custom themes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 21:33:07 +0000</pubDate>
  <lastBuildDate>Sun, 09 May 2004 09:48: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=626</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[Custom themes :  It works fine under XP, you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1861&amp;title=custom-themes#1861</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 09 May 2004 at 9:48am<br /><br /><br>It works fine under XP, you don't need any special detection.&nbsp;The&nbsp; if( !m_bLunaTheme ) check will make the class fall back to100% the normal Office2003 theme class if you have XP themes on.&nbsp;If it runs under XP when XP is set to the classic mode, the class herewill still emulate the blue colors for the toolbars.<br>I don't think any of the other functions need to be implemented, theywill be used in the base class and all I am doing is hard-coding the XPLuna blue color scheme, which all the other functions should use.<br><br>]]>
   </description>
   <pubDate>Sun, 09 May 2004 09:48:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1861&amp;title=custom-themes#1861</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themes : Great functionality! Questions: Should...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1859&amp;title=custom-themes#1859</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=477">Frode</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 09 May 2004 at 8:37am<br /><br /><P>Great functionality!</P><P>Questions:</P><P>Should this code only be included when running Windows 2000 and below - or can it be included for Windows XP too? Do I have to check what type of operating system the user is running, and then use your code if it's not Windows XP...?</P><P>What about the other functions in the CXTPOffice2003Theme class (like FillDockBar, ExcludeCorners etc.) - should these be implemented in your CXTPOffice2003ThemeEx class too?</P><P>Best regards,<BR>Frode Gorseth</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Sun, 09 May 2004 08:37:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1859&amp;title=custom-themes#1859</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themes : It does work, for anybody else...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1648&amp;title=custom-themes#1648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 16 April 2004 at 11:55pm<br /><br />It does work, for anybody else who wants to use it:<br><br>class CXTPOffice2003ThemeEx : public CXTPOffice2003Theme<br>{<br>public:<br>&nbsp;&nbsp;&nbsp; CXTPOffice2003ThemeEx(BOOL bGreyToBlue = TRUE, BOOL bYellowHighlight = FALSE);<br>&nbsp;&nbsp;&nbsp; BOOL m_bGreyToBlue, m_bYellowHighlight;<br>protected:<br>&nbsp;&nbsp;&nbsp; virtual void RefreshMetrics();<br>};<br><br>CXTPOffice2003ThemeEx::CXTPOffice2003ThemeEx(BOOL bGreyToBlue, BOOL bYellowHighlight)<br>{<br>&nbsp;&nbsp;&nbsp; m_bGreyToBlue = bGreyToBlue;<br>&nbsp;&nbsp;&nbsp; m_bYellowHighlight = bYellowHighlight;<br>&nbsp;&nbsp;&nbsp; RefreshMetrics();<br>}<br><br>void CXTPOffice2003ThemeEx::RefreshMetrics()<br>{<br>&nbsp;&nbsp;&nbsp; CXTPOffice2003Theme::RefreshMetrics();<br>&nbsp;&nbsp;&nbsp; if( !m_bLunaTheme ) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPColorManager *pClrMgr = XTPColorManager();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLORREF btn = pClrMgr-&gt;GetColor(COLOR_BTNFACE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if( m_bGreyToBlue &amp;&amp; (btn == RGB(192, 192, 192) || btn == RGB(212, 208, 200)) ) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrDockBarDark = RGB(158, 190, 245);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrDockBarLight = RGB(196, 218, 250);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCommandBarDark = RGB(129, 169, 226);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCommandBarLight = RGB(221, 236, 254);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrPopupDark = RGB(227, 239, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrPopupLight = RGB(147, 181, 231);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlToolbarShadow = RGB(59, 97, 156);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlFloatingGripper = RGB(42, 102, 201);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlExpandNormalDark = RGB(0, 53, 145);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlExpandNormalLight = RGB(117, 166, 241);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrMenuExpandedDark = RGB(121, 161, 220);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrMenuExpandedLight = RGB(203, 221, 246);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCircleDark = RGB(129, 169, 226);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCircleLight = RGB(227, 239, 254);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrStatusPane = RGB(221, 221, 221);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_bLunaTheme = TRUE;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;0&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;1&#093; = RGB(0, 78, 152);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;2&#093; = RGB(0, 84, 227);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;3&#093; = RGB(122, 150, 223);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;4&#093; = RGB(255, 255, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;5&#093; = RGB(255, 255, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;6&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;7&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;8&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;9&#093; = RGB(255, 255, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;10&#093; = RGB(212, 208, 200);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;11&#093; = RGB(212, 208, 200);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;12&#093; = RGB(128, 128, 128);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;13&#093; = RGB(49, 106, 197);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;14&#093; = RGB(255, 255, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;15&#093; = RGB(236, 233, 216);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;16&#093; = RGB(172, 168, 153);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;17&#093; = RGB(172, 168, 153);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;18&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;19&#093; = RGB(216, 228, 248);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;20&#093; = RGB(255, 255, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;21&#093; = RGB(113, 111, 100);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;22&#093; = RGB(251, 248, 231);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;23&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;24&#093; = RGB(255, 255, 225);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;25&#093; = RGB(181, 181, 181);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;26&#093; = RGB(0, 0, 128);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;27&#093; = RGB(61, 149, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;28&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;29&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;30&#093; = RGB(158, 190, 245);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;31&#093; = RGB(255, 238, 194);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;32&#093; = RGB(0, 0, 128);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;33&#093; = RGB(254, 128, 62);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;34&#093; = RGB(144, 157, 178);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;35&#093; = RGB(197, 194, 184);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;36&#093; = RGB(255, 192, 111);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;37&#093; = RGB(0, 0, 128);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;38&#093; = RGB(39, 65, 118);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;39&#093; = RGB(106, 140, 203);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;40&#093; = RGB(109, 150, 208);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;41&#093; = RGB(246, 246, 246);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;42&#093; = RGB(230, 227, 210);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;43&#093; = RGB(0, 45, 150);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;44&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;45&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;46&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;47&#093; = RGB(0, 0, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;48&#093; = RGB(218, 233, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;49&#093; = RGB(129, 126, 114);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;50&#093; = RGB(0, 0, 128);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;51&#093; = RGB(216, 231, 252);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;52&#093; = RGB(158, 190, 245);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;53&#093; = RGB(203, 225, 252);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;54&#093; = RGB(0, 45, 150);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;55&#093; = RGB(196, 218, 250);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } else if(m_bYellowHighlight) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;31&#093; = RGB(255, 238, 194);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;33&#093; = RGB(254, 128, 62);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrColor&#091;36&#093; = RGB(255, 192, 111);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_bLunaTheme = TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>}<br>]]>
   </description>
   <pubDate>Fri, 16 Apr 2004 23:55:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1648&amp;title=custom-themes#1648</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themes :  I&amp;#039;m confused as to why...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1647&amp;title=custom-themes#1647</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 16 April 2004 at 10:36pm<br /><br /><br>I'm confused as to why that should work, I thought SetColor was implemented as:<br>void CXTPColorManager::SetColor(int nIndex, COLORREF clrValue)<br>{<br>&nbsp;&nbsp;&nbsp; m_arrColor&#091;nIndex&#093; = clrValue;<br>}<br><br>and while SetColor is public, m_arrColor is protected.<br><br>]]>
   </description>
   <pubDate>Fri, 16 Apr 2004 22:36:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1647&amp;title=custom-themes#1647</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themes : instead pClrMgr-&amp;gt;SetColor(55,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1646&amp;title=custom-themes#1646</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 16 April 2004 at 10:32pm<br /><br /><P>instead pClrMgr-&gt;SetColor(55, RGB(196, 218, 250)); </P><P>write </P><P>m_arrColor&#091;55&#093; = RGB(196, 218, 250);</P>]]>
   </description>
   <pubDate>Fri, 16 Apr 2004 22:32:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1646&amp;title=custom-themes#1646</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themes :  I&amp;#039;m not following completely,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1645&amp;title=custom-themes#1645</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 16 April 2004 at 9:57pm<br /><br /><br>I'm not following completely, what do I nee to call SetColor() for ? I'm using CXTPColorManager *pClrMgr = XTPColorManager();<br>is there a second XTPColorManager now?<br>]]>
   </description>
   <pubDate>Fri, 16 Apr 2004 21:57:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1645&amp;title=custom-themes#1645</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themes : In th 8.70 Colors for CommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1641&amp;title=custom-themes#1641</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 16 April 2004 at 7:44am<br /><br /><P>In th 8.70 Colors for CommandBars owned to PaintManager.</P><P>You need call:</P><P>SetColors(...)</P><P>or </P><P>m_arrColor&#091;...&#093; = ...</P>]]>
   </description>
   <pubDate>Fri, 16 Apr 2004 07:44:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1641&amp;title=custom-themes#1641</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themes :  This theme worked in 8.61 to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1639&amp;title=custom-themes#1639</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 626<br /><strong>Posted:</strong> 15 April 2004 at 10:22pm<br /><br /><br>This theme worked in 8.61 to simulate the blue XP theme colors for win2000 and below, but no longer fully worked in 8.70:<br><br>class CXTPOffice2003ThemeEx : public CXTPOffice2003Theme<br>{<br>public:<br>&nbsp;&nbsp;&nbsp; CXTPOffice2003ThemeEx(BOOL bGreyToBlue = TRUE, BOOL bYellowHighlight = FALSE);<br>&nbsp;&nbsp;&nbsp; BOOL m_bGreyToBlue, m_bYellowHighlight;<br>protected:<br>&nbsp;&nbsp;&nbsp; virtual void RefreshMetrics();<br>};<br><br>CXTPOffice2003ThemeEx::CXTPOffice2003ThemeEx(BOOL bGreyToBlue, BOOL bYellowHighlight)<br>{<br>&nbsp;&nbsp;&nbsp; m_bGreyToBlue = bGreyToBlue;<br>&nbsp;&nbsp;&nbsp; m_bYellowHighlight = bYellowHighlight;<br>&nbsp;&nbsp;&nbsp; RefreshMetrics();<br>}<br><br>void CXTPOffice2003ThemeEx::RefreshMetrics()<br>{<br>&nbsp;&nbsp;&nbsp; CXTPOffice2003Theme::RefreshMetrics();<br>&nbsp;&nbsp;&nbsp; if( !m_bLunaTheme ) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPColorManager *pClrMgr = XTPColorManager();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLORREF btn = pClrMgr-&gt;GetColor(COLOR_BTNFACE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if( m_bGreyToBlue &amp;&amp; (btn == RGB(192, 192, 192) || btn == RGB(212, 208, 200)) ) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrDockBarDark = RGB(158, 190, 245);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrDockBarLight = RGB(196, 218, 250);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCommandBarDark = RGB(129, 169, 226);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCommandBarLight = RGB(221, 236, 254);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrPopupDark = RGB(227, 239, 255);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrPopupLight = RGB(147, 181, 231);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlToolbarShadow = RGB(59, 97, 156);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlFloatingGripper = RGB(42, 102, 201);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlExpandNormalDark = RGB(0, 53, 145);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_crlExpandNormalLight = RGB(117, 166, 241);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrMenuExpandedDark = RGB(121, 161, 220);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrMenuExpandedLight = RGB(203, 221, 246);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCircleDark = RGB(129, 169, 226);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrCircleLight = RGB(227, 239, 254);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_clrStatusPane = RGB(221, 221, 221);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_bLunaTheme = TRUE;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(0, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(1, RGB(0, 78, 152));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(2, RGB(0, 84, 227));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(3, RGB(122, 150, 223));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(4, RGB(255, 255, 255));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(5, RGB(255, 255, 255));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(6, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(7, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(8, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(9, RGB(255, 255, 255));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(10, RGB(212, 208, 200));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(11, RGB(212, 208, 200));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(12, RGB(128, 128, 128));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(13, RGB(49, 106, 197));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(14, RGB(255, 255, 255));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(15, RGB(236, 233, 216));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(16, RGB(172, 168, 153));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(17, RGB(172, 168, 153));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(18, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(19, RGB(216, 228, 248));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(20, RGB(255, 255, 255));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(21, RGB(113, 111, 100));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(22, RGB(251, 248, 231));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(23, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(24, RGB(255, 255, 225));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(25, RGB(181, 181, 181));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(26, RGB(0, 0, 128));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(27, RGB(61, 149, 255));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(28, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(29, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(30, RGB(158, 190, 245));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(31, RGB(255, 238, 194));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(32, RGB(0, 0, 128));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(33, RGB(254, 128, 62));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(34, RGB(144, 157, 178));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(35, RGB(197, 194, 184));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(36, RGB(255, 192, 111));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(37, RGB(0, 0, 128));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(38, RGB(39, 65, 118));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(39, RGB(106, 140, 203));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(40, RGB(109, 150, 208));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(41, RGB(246, 246, 246));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(42, RGB(230, 227, 210));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(43, RGB(0, 45, 150));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(44, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(45, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(46, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(47, RGB(0, 0, 0));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(48, RGB(218, 233, 255));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(49, RGB(129, 126, 114));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(50, RGB(0, 0, 128));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(51, RGB(216, 231, 252));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(52, RGB(158, 190, 245));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(53, RGB(203, 225, 252));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(54, RGB(0, 45, 150));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(55, RGB(196, 218, 250));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } else if(m_bYellowHighlight) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(31, RGB(255, 238, 194));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(33, RGB(254, 128, 62));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pClrMgr-&gt;SetColor(36, RGB(255, 192, 111));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_bLunaTheme = TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>I would use it as: <br>&nbsp;&nbsp;&nbsp; CXTPPaintManager::SetCustomTheme(new CXTPOffice2003ThemeEx());<br>in place of:<br>&nbsp;&nbsp;&nbsp; CXTPPaintManager::SetTheme(xtpThemeOffice2003);<br><br>Most of the colors still work, but greyed out toolbar items and theorange color for menu mouse hover no longer works right. What changedin 8.70 and how can I fix this?<br><br>]]>
   </description>
   <pubDate>Thu, 15 Apr 2004 22:22:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=626&amp;PID=1639&amp;title=custom-themes#1639</guid>
  </item> 
 </channel>
</rss>