<?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 : ReportControl skin</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : ReportControl skin]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 14:25:36 +0000</pubDate>
  <lastBuildDate>Thu, 19 Feb 2009 16:48:07 +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=13433</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[ReportControl skin : PaintManager public members I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45657&amp;title=reportcontrol-skin#45657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13433<br /><strong>Posted:</strong> 19 February 2009 at 4:48pm<br /><br />PaintManager public members I commented early (e.g. CXTPPaintManagerColor m_clrHeaderControl) used in non-Office2007 themes.<DIV>E.g. I reached green header if use such initialization:</DIV><DIV><FONT size=2><P>//m_wndReport.GetPaintManager()-&gt;SetColumnStyle(xtpReportColumnOffice2007);</P></FONT><FONT size=2><P>wndReport.GetPaintManager()-&gt;m_clrHeaderControl = RGB(0,255,0);</P><DIV></DIV></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 19 Feb 2009 16:48:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45657&amp;title=reportcontrol-skin#45657</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl skin : You still can use function Get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45651&amp;title=reportcontrol-skin#45651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13433<br /><strong>Posted:</strong> 19 February 2009 at 2:33pm<br /><br /><P>You still can use function GetReportCtrl().GetPaintManager()-&gt;SetColumnOffice2007CustomThemeBaseColor(COLORREF color) which assign your color to <FONT size=2>m_clrColumnOffice2007CustomTheme. But after this some special logic applied:</FONT></P><FONT color=#0000ff size=2><P>if</FONT><FONT size=2> (m_clrColumnOffice2007CustomTheme != COLORREF_NULL)</P><P>{</P><P>COLORREF clrHsl = XTPDrawHelpers()-&gt;RGBtoHSL(m_clrColumnOffice2007CustomTheme);</P><P>BYTE Hue = GetRValue(clrHsl);</P><P>BYTE Sat = GetGValue(clrHsl);</P><P>m_grcGradientColumnPushed.SetStandardValue(XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, Sat, 212)), XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, Sat, 239)));</P><P>m_grcGradientColumn.SetStandardValue(XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, Sat, 239)), XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, Sat, 212)));</P><P>m_clrGradientColumnShadow.SetStandardValue(XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, (BYTE)(Sat * 0.525f), 145)));</P><P>m_clrGradientColumnSeparator.SetStandardValue(XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, Sat, 192)));</P><P>m_clrGroupBoxBack.SetStandardValue(XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, Sat, 227)));</P><P>m_crlNoGroupByText.SetStandardValue(XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, (BYTE)(Sat * 0.75f), 79)));</P><P>m_clrGroupShadeBack.SetStandardValue(XTPDrawHelpers()-&gt;HSLtoRGB(RGB(Hue, (BYTE)(Sat * 0.88f), 208)));</P><P>}</P><DIV></DIV><P>Tested cases <FONT size=2></P><P>m_wndReport.GetPaintManager()-&gt;SetColumnOffice2007CustomThemeBaseColor(RGB(0,0,255));</P><DIV><img src="https://forum.codejock.com/uploads/20090219_143720_ScreenShot1.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Another case:</DIV><DIV>m_wndReport.GetPaintManager()-&gt;SetColumnOffice2007CustomThemeBaseColor(RGB(255,0,0));</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20090219_143838_ScreenShot2.jpg" border="0"></DIV></FONT><P></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 19 Feb 2009 14:33:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45651&amp;title=reportcontrol-skin#45651</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl skin : I guess I have to use CXTPPaintManagerColor...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45648&amp;title=reportcontrol-skin#45648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13433<br /><strong>Posted:</strong> 19 February 2009 at 2:13pm<br /><br />I guess I have to use CXTPPaintManagerColor m_clrHeaderControl (but that's minor problem). How can I get that m_clrHeaderControl value from current theme (let say my application uses Office2007 Black theme)? Thanks for helping!<font size="2"><font color="#008000" size="2"><font color="#008000" size="2"><font color="#008000" size="2"><font color="#008000" size="2"><font size="2"></font></font></font></font></font></font>]]>
   </description>
   <pubDate>Thu, 19 Feb 2009 14:13:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45648&amp;title=reportcontrol-skin#45648</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl skin :  To customize colors you can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45607&amp;title=reportcontrol-skin#45607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13433<br /><strong>Posted:</strong> 18 February 2009 at 8:49pm<br /><br /><FONT size=2><DIV>To customize colors you can use functions:</DIV><DIV>GetReportCtrl().GetPaintManager()-&gt;SetColumnOffice2007CustomThemeBaseColor(COLORREF color) or PaintManager public members:</DIV><DIV><P><FONT size=2>CXTPPaintManagerColor m_clrHighlight; </FONT><FONT color=#008000 size=2>// Background color of the highlighted row.</P><DIV></FONT><FONT size=2>CXTPPaintManagerColor m_clrGridLine; </FONT><FONT color=#008000 size=2>// Grid lines color.</DIV></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrWindowText; </FONT><FONT color=#008000 size=2>// Report items default text color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrHighlightText; </FONT><FONT color=#008000 size=2>// Text color of the highlighted text.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrHeaderControl; </FONT><FONT color=#008000 size=2>// Background color of the report header.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrCaptionText; </FONT><FONT color=#008000 size=2>// Column header text color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrControlBack; </FONT><FONT color=#008000 size=2>// Background color of the control report area.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrGroupRowText; </FONT><FONT color=#008000 size=2>// Row text color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrGroupShadeBack; </FONT><FONT color=#008000 size=2>// Group row background color when indentation shade is enabled.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrGroupShadeText; </FONT><FONT color=#008000 size=2>// Group row foreground color when indentation shade is enabled.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrGroupShadeBorder;</FONT><FONT color=#008000 size=2>// Color for group border's shade.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrGroupBoxBack; </FONT><FONT color=#008000 size=2>// Color of group box.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrControlDark; </FONT><FONT color=#008000 size=2>// Dark background color of the report control (used on Group By area).</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrControlLightLight;</FONT><FONT color=#008000 size=2>// Light background color used for drawing shades (used on column header area).</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrHotDivider; </FONT><FONT color=#008000 size=2>// Color of the column hot divider window (2 arrows).</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrHyper; </FONT><FONT color=#008000 size=2>// Hyperlink color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrIndentControl; </FONT><FONT color=#008000 size=2>// Color of the tree indentation area.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrItemShade; </FONT><FONT color=#008000 size=2>// Color of the shade on sorted by column items.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrBtnFace; </FONT><FONT color=#008000 size=2>// Standard button face color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrBtnText; </FONT><FONT color=#008000 size=2>// Standard button text color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrPreviewText; </FONT><FONT color=#008000 size=2>// Preview text color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrSelectedRow; </FONT><FONT color=#008000 size=2>// Selected row background color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrSelectedRowText; </FONT><FONT color=#008000 size=2>// Selected row text color.</P></FONT><FONT size=2><P>CXTPPaintManagerColorGradient m_grcGradientColumn; </FONT><FONT color=#008000 size=2>// Color of column used with xtpReportColumnOffice2003 style</P></FONT><FONT size=2><P>CXTPPaintManagerColorGradient m_grcGradientColumnHot; </FONT><FONT color=#008000 size=2>// HotTracking Color of column used with xtpReportColumnOffice2003 style</P></FONT><FONT size=2><P>CXTPPaintManagerColorGradient m_grcGradientColumnPushed; </FONT><FONT color=#008000 size=2>// Pushed Color of column used with xtpReportColumnOffice2003 style</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrGradientColumnShadow; </FONT><FONT color=#008000 size=2>// Bottom shadow of column used with xtpReportColumnOffice2003 style</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrGradientColumnSeparator; </FONT><FONT color=#008000 size=2>// Separator of column used with xtpReportColumnOffice2003 style</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_crlNoGroupByText; </FONT><FONT color=#008000 size=2>// A color for "No items" text in GroupBy area (see m_strNoGroupBy member)</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrFreezeColsDivider; </FONT><FONT color=#008000 size=2>// Freeze Columns Divider color.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrHeaderRowsDivider; </FONT><FONT color=#008000 size=2>// Color of header divider.</P></FONT><FONT size=2><P>CXTPPaintManagerColor m_clrFooterRowsDivider; </FONT><FONT color=#008000 size=2>// Color of footer divider.</P></FONT><FONT size=2><P>COLORREF m_clrColumnOffice2007CustomTheme; </FONT><FONT color=#008000 size=2>// Base color for Office2007 custom theme.</P><DIV></DIV></FONT></DIV></FONT>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 20:49:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45607&amp;title=reportcontrol-skin#45607</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl skin : I&amp;#039;ve already done that, Office2007...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45601&amp;title=reportcontrol-skin#45601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13433<br /><strong>Posted:</strong> 18 February 2009 at 2:02pm<br /><br />I've already done that, Office2007 style is shown but colors of the headings are wrong (e.g. my theme is Office2007Black, but color of ReportControl is still blue). How to tell ReportControl that it has to change its color according to application main theme? Thanks for helping.]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 14:02:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45601&amp;title=reportcontrol-skin#45601</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl skin : Hi,  Add GetReportCtrl().Ge...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45578&amp;title=reportcontrol-skin#45578</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13433<br /><strong>Posted:</strong> 18 February 2009 at 1:14am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Add</DIV><DIV>GetReportCtrl().GetPaintManager()-&gt;SetColumnStyle(xtpReportColumnOffice2007);</DIV>]]>
   </description>
   <pubDate>Wed, 18 Feb 2009 01:14:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45578&amp;title=reportcontrol-skin#45578</guid>
  </item> 
  <item>
   <title><![CDATA[ReportControl skin : I&amp;#039;m using code below to skin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45569&amp;title=reportcontrol-skin#45569</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13433<br /><strong>Posted:</strong> 17 February 2009 at 2:47pm<br /><br />I'm using code below to skin my application, and it's working great except it doesn't affect XTPReportControl's headers? How to paint those header to be like my whole application (report control is using Office2007 theme)?<br><br>XTPSkinManager()-&gt;LoadSkin(_T("C:\\Office2007.cjstyles"),_T("NormalBlue.ini"));]]>
   </description>
   <pubDate>Tue, 17 Feb 2009 14:47:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13433&amp;PID=45569&amp;title=reportcontrol-skin#45569</guid>
  </item> 
 </channel>
</rss>