<?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 : Getting Theme Gradiant Colors</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Getting Theme Gradiant Colors]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 01:39:30 +0000</pubDate>
  <lastBuildDate>Fri, 11 Apr 2008 01:07:50 +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=10176</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[Getting Theme Gradiant Colors : Hi,  Get color using  CXTP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10176&amp;PID=33453&amp;title=getting-theme-gradiant-colors#33453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10176<br /><strong>Posted:</strong> 11 April 2008 at 1:07am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Get color using</DIV><DIV>&nbsp;</DIV><DIV>CXTPPaintManagerColorGradient&amp; clr = ((CXTPOffice2003Theme*)XTPPaintManager())-&gt;m_clrCommandBar;</DIV><DIV>&nbsp;</DIV><DIV>fill with </DIV><DIV>&nbsp;</DIV><DIV>XTPDrawHelpers()-&gt;GradientFill(pDC, rcFill, clr, TRUE);</DIV>]]>
   </description>
   <pubDate>Fri, 11 Apr 2008 01:07:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10176&amp;PID=33453&amp;title=getting-theme-gradiant-colors#33453</guid>
  </item> 
  <item>
   <title><![CDATA[Getting Theme Gradiant Colors : Hi,  I am moving an existing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10176&amp;PID=33432&amp;title=getting-theme-gradiant-colors#33432</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4075">dedvalson</a><br /><strong>Subject:</strong> 10176<br /><strong>Posted:</strong> 10 April 2008 at 2:05pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I am moving an existing MFC app to XTP and I have run into one issue I haven't seen addressed in the samples.</DIV><DIV>&nbsp;</DIV><DIV>I have windows that I draw and manage myself that I wish to have the same gradient that is used on command bars on. </DIV><DIV>&nbsp;</DIV><DIV>Thus I would like to get access to the colors used to draw the gradiants on the command bars, or better yet a function that will just draw that background for me.</DIV><DIV>&nbsp;</DIV><DIV>I saw the various Fill methods in the CXTPPaintManager, but I need one that I can hand a basic CWnd to. Or I need to get the colors to draw it myself, but those colors need to change when the theme changes.</DIV><DIV>&nbsp;</DIV><DIV>Any suggestions??</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 10 Apr 2008 14:05:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10176&amp;PID=33432&amp;title=getting-theme-gradiant-colors#33432</guid>
  </item> 
 </channel>
</rss>