<?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 : Coloring Report C&#111;ntrol Rows !</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Coloring Report C&#111;ntrol Rows !]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 05:19:43 +0000</pubDate>
  <lastBuildDate>Fri, 04 Nov 2005 02:37:19 +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=3142</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[Coloring Report C&#111;ntrol Rows ! : Maneesh,  There is only one way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9423&amp;title=coloring-report-control-rows#9423</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3142<br /><strong>Posted:</strong> 04 November 2005 at 2:37am<br /><br />Maneesh,<br /><br />There is only one way to customize colors - override GetItemMetrics or catch corresponding notification - XTP_NM_REPORT_GETITEMMETRICS.<br /><br />But you can apply that for following classes:<br />&nbsp;&nbsp;&nbsp;&nbsp;CXTPReportRecordItem::GetItemMetrics <br />&nbsp;&nbsp;&nbsp;&nbsp;CXTPReportRecord::GetItemMetrics <br />&nbsp;&nbsp;&nbsp;&nbsp;CXTPReportRow::GetItemMetrics <br /><br />I can't see what is a problem to call Populate.<br />May be try to call RedrawControl instead of Populate.<br /><br />--<br />HTH,<br />Serge]]>
   </description>
   <pubDate>Fri, 04 Nov 2005 02:37:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9423&amp;title=coloring-report-control-rows#9423</guid>
  </item> 
  <item>
   <title><![CDATA[Coloring Report C&#111;ntrol Rows ! : Thanks Warren !   But this function...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9405&amp;title=coloring-report-control-rows#9405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1151">Maneesh</a><br /><strong>Subject:</strong> 3142<br /><strong>Posted:</strong> 03 November 2005 at 10:18pm<br /><br /><img src="http://forum.codejock.com/smileys/smiley5.gif" border="0">Thanks Warren ! <br><br>But this function is called when the populate() fn of the rpt cnt iscalled, i.e when the record is initially shown the back color isapplied ! <br><br>my requirement is there are already around 10 records shown and when a user clicks a button .. the 2 row should be colored ! <br><br>i hope u understand ! <br><br>Maneesh<br><br>]]>
   </description>
   <pubDate>Thu, 03 Nov 2005 22:18:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9405&amp;title=coloring-report-control-rows#9405</guid>
  </item> 
  <item>
   <title><![CDATA[Coloring Report C&#111;ntrol Rows ! : you might want code something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9404&amp;title=coloring-report-control-rows#9404</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1003">Warren</a><br /><strong>Subject:</strong> 3142<br /><strong>Posted:</strong> 03 November 2005 at 9:53pm<br /><br />you might want code something like:<br><br> voidYourCXTPReportRecordDerivedClass::GetItemMetrics(XTP _REPORTRECORDITEM_DRAWARGS*pDrawArgs,  XTP_REPORTRECORDITEM_METRICS* pItemMetrics)<br>{<br>&nbsp;&nbsp;&nbsp; ASSERT( (NULL!=pDrawArgs) &amp;&amp; (NULL!=pItemMetrics) );<br>if( (pDrawArgs-&gt;pRow-&gt;GetIndex() == rowNumberYouWantToColour) &amp;&amp; (!pDrawArgs-&gt;pItem-&gt;IsPreviewItem()) ){<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItemMetrics-&gt;clrBackground = RGB(245, 245, 245);<br>&nbsp;&nbsp;&nbsp; }<br><br>}<br><br><br>see Codejock Samples--&gt;<br> ReportSample--&gt;MessageRecord.cpp--&gt;CMessageRecor d::GetItemMetrics<br><br>Hope that helps...<br><br>Warren<br>]]>
   </description>
   <pubDate>Thu, 03 Nov 2005 21:53:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9404&amp;title=coloring-report-control-rows#9404</guid>
  </item> 
  <item>
   <title><![CDATA[Coloring Report C&#111;ntrol Rows ! :  On click of a botton in my dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9391&amp;title=coloring-report-control-rows#9391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1151">Maneesh</a><br /><strong>Subject:</strong> 3142<br /><strong>Posted:</strong> 02 November 2005 at 11:55pm<br /><br /><br>On click of a botton in my dialog <br>I would like set the background color for a particular row. <br><br>Iam using CXTPReportControl ! <br>Please provide me with the code to color a row ! <br><br>Can I set a background color only for a Row and a Column ! <br><br>Pls let me know ! <br><br>Thanks<br>Maneesh<br>]]>
   </description>
   <pubDate>Wed, 02 Nov 2005 23:55:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3142&amp;PID=9391&amp;title=coloring-report-control-rows#9391</guid>
  </item> 
 </channel>
</rss>