<?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 : CXTCaptionThemeOffice2007</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTCaptionThemeOffice2007]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 05:36:16 +0000</pubDate>
  <lastBuildDate>Sat, 01 Mar 2008 11:38:41 +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=9682</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[CXTCaptionThemeOffice2007 : Many thanks. That resolved a problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31812&amp;title=cxtcaptionthemeoffice2007#31812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 9682<br /><strong>Posted:</strong> 01 March 2008 at 11:38am<br /><br />Many thanks.&nbsp; That resolved a problem I was having.<DIV>&nbsp;</DIV><DIV>Ken</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 01 Mar 2008 11:38:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31812&amp;title=cxtcaptionthemeoffice2007#31812</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCaptionThemeOffice2007 : Possible improvement.  void...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31786&amp;title=cxtcaptionthemeoffice2007#31786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9682<br /><strong>Posted:</strong> 01 March 2008 at 6:29am<br /><br />Possible improvement.<DIV>&nbsp;</DIV><DIV>void CXTCaptionThemeOffice2007::DrawCaptionText(CDC* pDC, CXTCaption* pCaption)<BR>{<BR>&nbsp;&nbsp;&nbsp; int oldBkMode = pDC-&gt;SetBkMode(TRANSPARENT);<BR>&nbsp;&nbsp;&nbsp; CXTCaptionThemeOffice2003::DrawCaptionText(pDC, pCaption);<BR>&nbsp;&nbsp;&nbsp; pDC-&gt;SetBkMode(oldBkMode);<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Sat, 01 Mar 2008 06:29:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31786&amp;title=cxtcaptionthemeoffice2007#31786</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCaptionThemeOffice2007 : Hi Adrien,Thanks for sharing this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31685&amp;title=cxtcaptionthemeoffice2007#31685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 9682<br /><strong>Posted:</strong> 27 February 2008 at 3:05pm<br /><br />Hi Adrien,<br><br>Thanks for sharing this code; I've been looking to do something similar, and you've saved me the trouble of figuring it out.<br><br>- Mark R.<br>]]>
   </description>
   <pubDate>Wed, 27 Feb 2008 15:05:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31685&amp;title=cxtcaptionthemeoffice2007#31685</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCaptionThemeOffice2007 : Why not provide a screenshot?  Thanks!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31628&amp;title=cxtcaptionthemeoffice2007#31628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 9682<br /><strong>Posted:</strong> 26 February 2008 at 4:10pm<br /><br />Why not provide a screenshot?<DIV>&nbsp;</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Tue, 26 Feb 2008 16:10:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31628&amp;title=cxtcaptionthemeoffice2007#31628</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCaptionThemeOffice2007 : Thanks for sharing. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31579&amp;title=cxtcaptionthemeoffice2007#31579</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9682<br /><strong>Posted:</strong> 25 February 2008 at 2:06pm<br /><br />Thanks for sharing.]]>
   </description>
   <pubDate>Mon, 25 Feb 2008 14:06:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31579&amp;title=cxtcaptionthemeoffice2007#31579</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCaptionThemeOffice2007 : actually the DrawCaptionBack func...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31544&amp;title=cxtcaptionthemeoffice2007#31544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9682<br /><strong>Posted:</strong> 24 February 2008 at 7:44pm<br /><br />actually the DrawCaptionBack func was ripped out of the docking pane tab drawing code, so will actually look better if you just have<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>void CXTCaptionThemeOffice2007::DrawCaptionBack(CDC* pDC, CXTCaption* pCaption, CRect&amp; rcItem)<BR>{<BR>&nbsp;XTPDrawHelpers()-&gt;GradientFill(pDC, rcItem, m_clrNormalCaption, FALSE);</DIV><DIV>&nbsp;pDC-&gt;FillSolidRect(rcItem.left, rcItem.bottom - 1, rcItem.Width(), 1, m_arrColor&#091;XPCOLOR_FRAME&#093;);<BR>}</DIV>]]>
   </description>
   <pubDate>Sun, 24 Feb 2008 19:44:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31544&amp;title=cxtcaptionthemeoffice2007#31544</guid>
  </item> 
  <item>
   <title><![CDATA[CXTCaptionThemeOffice2007 :  Office2007 theme for CXTCaption...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31542&amp;title=cxtcaptionthemeoffice2007#31542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9682<br /><strong>Posted:</strong> 24 February 2008 at 7:41pm<br /><br /><DIV>&nbsp;</DIV><DIV>Office2007 theme for CXTCaption in case anyone wants it.</DIV><DIV>&nbsp;</DIV><DIV>To use, in your caption, use</DIV><DIV>&nbsp;</DIV><DIV>pCaption-&gt;SetTheme(new CXTCaptionThemeOffice2007);</DIV><DIV>&nbsp;</DIV><DIV>enjoy.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>class CXTCaptionThemeOffice2007 : public CXTCaptionThemeOffice2003<BR>{<BR>public:<BR>&nbsp;virtual void DrawCaptionBack(CDC* pDC, CXTCaption* pCaption, CRect&amp; rcItem);<BR>&nbsp;virtual void RefreshMetrics();</DIV><P>&nbsp;CXTPPaintManagerColorGradient m_clrNormalCaption;&nbsp;&nbsp; // Color of pane caption when inactive.<BR>&nbsp;CXTPPaintManagerColor m_clrNormalCaptionText;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Color of pane caption text when the caption is inactive<BR>&nbsp;COLORREF m_arrColor&#091;XPCOLOR_LAST + 1&#093;;&nbsp;&nbsp;&nbsp;&nbsp;// Self colors array.<BR>};</P><P>void CXTCaptionThemeOffice2007::RefreshMetrics()<BR>{<BR>&nbsp;CXTCaptionThemeOffice2003::RefreshMetrics();</P><P>&nbsp;if (XTPOffice2007Images()-&gt;IsValid())<BR>&nbsp;{<BR>&nbsp;&nbsp;m_arrColor&#091;XPCOLOR_FRAME&#093; = XTPOffice2007Images()-&gt;GetImageColor(_T("Window"), _T("WindowFrame"));<BR>&nbsp;&nbsp;m_arrColor&#091;XPCOLOR_3DFACE&#093; = XTPOffice2007Images()-&gt;GetImageColor(_T("Window"), _T("ButtonFace"));<BR>&nbsp;&nbsp;m_arrColor&#091;COLOR_3DHIGHLIGHT&#093; = XTPOffice2007Images()-&gt;GetImageColor(_T("Window"), _T("EdgeHighLightColor"));<BR>&nbsp;&nbsp;m_arrColor&#091;XPCOLOR_TOOLBAR_GRIPPER&#093; = XTPOffice2007Images()-&gt;GetImageColor(_T("Toolbar"), _T("ToolbarGripper"));<BR>&nbsp;&nbsp;m_arrColor&#091;XPCOLOR_MENUBAR_BORDER&#093; = XTPOffice2007Images()-&gt;GetImageColor(_T("Toolbar"), _T("MenuPopupBorder"));</P><P>&nbsp;&nbsp;m_clrNormalCaption.SetStandardValue(XTPOffice2007Images()-&gt;GetImageColor(_T("DockingPane"), _T("NormalCaptionLight")),<BR>&nbsp;&nbsp;&nbsp;XTPOffice2007Images()-&gt;GetImageColor(_T("DockingPane"), _T("NormalCaptionDark")), 0.25f);<BR>&nbsp;&nbsp;m_clrNormalCaptionText.SetStandardValue(XTPOffice2007Images()-&gt;GetImageColor(_T("DockingPane"), _T("NormalCaptionText")));<BR>&nbsp;}<BR>&nbsp;else<BR>&nbsp;{<BR>&nbsp;&nbsp;// defaults for if there's no Office2007 images.<BR>&nbsp;&nbsp;m_arrColor&#091;XPCOLOR_FRAME&#093; = RGB(101, 147, 207);<BR>&nbsp;&nbsp;m_arrColor&#091;XPCOLOR_3DFACE&#093; = RGB(191, 219, 255);<BR>&nbsp;&nbsp;m_arrColor&#091;COLOR_3DHIGHLIGHT&#093; = RGB(255, 255, 255);<BR>&nbsp;&nbsp;m_clrNormalCaption.SetStandardValue(RGB(227, 239, 255), RGB(175, 210, 255), 0.25f);<BR>&nbsp;&nbsp;m_clrNormalCaptionText.SetStandardValue(RGB(8, 55, 114));<BR>&nbsp;}<BR>}</P><P><BR>void CXTCaptionThemeOffice2007::DrawCaptionBack(CDC* pDC, CXTCaption* pCaption, CRect&amp; rcItem)<BR>{<BR>&nbsp;XTPDrawHelpers()-&gt;GradientFill(pDC, rcItem, m_clrNormalCaption, FALSE);<BR>&nbsp;pDC-&gt;FillSolidRect(rcItem.left, rcItem.top, rcItem.Width(), 1, m_arrColor&#091;XPCOLOR_FRAME&#093;);<BR>&nbsp;pDC-&gt;FillSolidRect(rcItem.left, rcItem.top + 1, rcItem.Width(), 1, m_arrColor&#091;COLOR_3DHIGHLIGHT&#093;);<BR>&nbsp;pDC-&gt;FillSolidRect(rcItem.left, rcItem.top, 1, rcItem.Height(), m_arrColor&#091;XPCOLOR_FRAME&#093;);<BR>&nbsp;pDC-&gt;FillSolidRect(rcItem.left + 1, rcItem.top + 1, 1, rcItem.Height() - 1, m_arrColor&#091;COLOR_3DHIGHLIGHT&#093;);<BR>&nbsp;pDC-&gt;FillSolidRect(rcItem.right - 1, rcItem.top, 1, rcItem.Height(), m_arrColor&#091;XPCOLOR_FRAME&#093;);<BR>}</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Sun, 24 Feb 2008 19:41:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9682&amp;PID=31542&amp;title=cxtcaptionthemeoffice2007#31542</guid>
  </item> 
 </channel>
</rss>