<?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 : Gradients for color schemes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Gradients for color schemes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 00:32:49 +0000</pubDate>
  <lastBuildDate>Thu, 15 Nov 2007 08:43:01 +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=8790</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[Gradients for color schemes : Hi,  You can draw selection...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8790&amp;PID=28488&amp;title=gradients-for-color-schemes#28488</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8790<br /><strong>Posted:</strong> 15 November 2007 at 8:43am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You can draw selection using current bitmap:</DIV><DIV>&nbsp;</DIV><DIV>CXTPOffice2007Image* pImage = XTPOffice2007Images()-&gt;LoadFile(_T("TOOLBARBUTTONS22"));<BR>&nbsp;&nbsp;&nbsp;if (pImage)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;pImage-&gt;DrawImage(pDC, rcItem, pImage-&gt;GetSource(3, 4), CRect(8, 8, 8, 8), COLORREF_NULL);<BR>&nbsp;&nbsp;&nbsp;&nbsp;clrWindow = COLORREF_NULL;<BR>&nbsp;&nbsp;&nbsp;&nbsp;pDC-&gt;SetBkMode(TRANSPARENT);<BR>&nbsp;&nbsp;&nbsp;&nbsp;clrWindowText = GetXtremeColor(COLOR_WINDOWTEXT);<BR>&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 15 Nov 2007 08:43:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8790&amp;PID=28488&amp;title=gradients-for-color-schemes#28488</guid>
  </item> 
  <item>
   <title><![CDATA[Gradients for color schemes :       We allow users to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8790&amp;PID=28478&amp;title=gradients-for-color-schemes#28478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3492">GBrookman</a><br /><strong>Subject:</strong> 8790<br /><strong>Posted:</strong> 14 November 2007 at 4:41pm<br /><br /><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>We allow users to change color schemes and we want to change some items in our controls to reflect that change. In the attached image the tree node "Application" is painted with a GradientFill using colors <FONT size=2>XTPColorManager()-&gt;grcToolBar.clrDark and </FONT></DIV><DIV><FONT size=2><FONT size=2>XTPColorManager()-&gt;grcToolBar.clrLight</FONT></FONT></DIV><DIV><FONT size=2>but these don't change on a color scheme change. Is there something I need to do to refresh them? I've tried:</FONT></DIV><DIV><FONT size=2><FONT size=2>XTPColorManager()-&gt;RefreshColors();</FONT></FONT></DIV><DIV><FONT size=2>following a scheme change, but that didn't help. Is there another source for to-from gradient colors?</FONT></DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20071114_162048_GradientQuestio.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Gary</DIV>]]>
   </description>
   <pubDate>Wed, 14 Nov 2007 16:41:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8790&amp;PID=28478&amp;title=gradients-for-color-schemes#28478</guid>
  </item> 
 </channel>
</rss>