<?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 : Report Control CustomDrawReport</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report Control CustomDrawReport]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:17:39 +0000</pubDate>
  <lastBuildDate>Wed, 15 Mar 2017 06:39:47 +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=23288</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[Report Control CustomDrawReport : Thanks for that. That would explain...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75635&amp;title=report-control-customdrawreport#75635</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6504">Andy121070</a><br /><strong>Subject:</strong> 23288<br /><strong>Posted:</strong> 15 March 2017 at 6:39am<br /><br />Thanks for that. &nbsp;That would explain why I can't find the sample. &nbsp;We only have the ActiveX version of the controls.<div><br></div>]]>
   </description>
   <pubDate>Wed, 15 Mar 2017 06:39:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75635&amp;title=report-control-customdrawreport#75635</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control CustomDrawReport : you can open sample projectc:\Program...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75634&amp;title=report-control-customdrawreport#75634</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23288<br /><strong>Posted:</strong> 15 March 2017 at 6:30am<br /><br />you can open sample project<br>c:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v17.3.0\Samples\ReportControl\ReportCustomDraw\CustomDrawReport_vc140.sln<br><br>and see in Solution Explorer all files of sample.<br><br>Source files of ReportControl you can find in&nbsp;c:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v17.3.0\Source\ReportControl\<br><br>Better way is to add ToolkitPro project to solution of sample&nbsp;<span style="line-height: 16.8px;">ReportCustomDraw</span>. You can find project of ToolkitPro in&nbsp;c:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v17.3.0\Workspace\ToolkitPro\ToolkitProShared_vc140.vcxproj<br><br>Then with using debugging and breakpoints in methods you can explore how ReportControl works.]]>
   </description>
   <pubDate>Wed, 15 Mar 2017 06:30:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75634&amp;title=report-control-customdrawreport#75634</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control CustomDrawReport : Thank you for the response OleksandrShould...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75633&amp;title=report-control-customdrawreport#75633</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6504">Andy121070</a><br /><strong>Subject:</strong> 23288<br /><strong>Posted:</strong> 15 March 2017 at 5:05am<br /><br />Thank you for the response Oleksandr<div><br></div><div>Should I be able to find the full source code file in any of the CodeJock sample source code? &nbsp;If so, which one do I need to look at?</div>]]>
   </description>
   <pubDate>Wed, 15 Mar 2017 05:05:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75633&amp;title=report-control-customdrawreport#75633</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control CustomDrawReport : Hello Andy121070,Initialization...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75631&amp;title=report-control-customdrawreport#75631</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23288<br /><strong>Posted:</strong> 14 March 2017 at 8:44am<br /><br />Hello Andy121070,<br><br>Initialization of&nbsp;<span style="line-height: 16.8px;">ReportControl is</span>&nbsp;in&nbsp;CCustomDrawReportDlg::OnInitDialog()<table width="99%"><tr><td><pre class="BBcode">&nbsp;<font color="#999999"> &nbsp; // &nbsp;Add sample columns</font><div><font color="#999999">&nbsp; &nbsp; //</font></div><div><br></div><div>&nbsp; &nbsp; m_wndReportCtrl.AddColumn(new CXTPReportColumn(REPORTCOLUMN_NAME, _T("Name"), 150));</div><div>&nbsp; &nbsp; m_wndReportCtrl.AddColumn(new CXTPReportColumn(REPORTCOLUMN_ATTR1, _T("Attribute 1"), 150));</div><div>&nbsp; &nbsp; m_wndReportCtrl.AddColumn(new CXTPReportColumn(REPORTCOLUMN_ATTR2, _T("Attribute 2"), 150));</div><div>&nbsp; &nbsp; m_wndReportCtrl.AddColumn(new CXTPReportColumn(REPORTCOLUMN_ATTR3, _T("Attribute 3"), 150));</div><div>&nbsp; &nbsp; m_wndReportCtrl.GetColumns()-&gt;GetAt(REPORTCOLUMN_ATTR3)-&gt;SetAlignment(DT_VCENTER);</div><div><br></div><div><font color="#999999">&nbsp; &nbsp; //</font></div><div><font color="#999999">&nbsp; &nbsp; // &nbsp;Add sample records in tree</font></div><div><font color="#999999">&nbsp; &nbsp; //</font></div><div><br></div><div>&nbsp; &nbsp; CString strName;</div><div>&nbsp; &nbsp; CString strProgress;</div><div>&nbsp; &nbsp; for(int i = 0; i &lt; 10; i++)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; strName.Format(_T("Parameter %d"), i);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; strProgress.Format(_T("Progress %d: (%d%%)"), i, 0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; m_wndReportCtrl.AddRecord(new <b><font color="#00ccff">CMessageRecord</font></b>(strName, 4, i, 4, 1 &lt;&lt; (i &amp; 3), strProgress, RGB(0, 0, 100), 15, 0, 100, i + 1, 0));</div><div>&nbsp; &nbsp; }</div><div><br></div><div><font color="#999999">&nbsp; &nbsp; //</font></div><div><font color="#999999">&nbsp; &nbsp; // define style attributes for the report control.</font></div><div><font color="#999999">&nbsp; &nbsp; //</font></div><div><br></div><div>&nbsp; &nbsp; m_wndReportCtrl.GetColumns()-&gt;Find(REPORTCOLUMN_NAME)-&gt;SetTreeColumn(TRUE);</div><div><br></div><div>&nbsp; &nbsp; CXTPCustomDrawReportPaintManager* pPaintManager = new CXTPCustomDrawReportPaintManager(this);</div><div><br></div><div>&nbsp; &nbsp; m_wndReportCtrl.SetPaintManager(pPaintManager);</div><div><br></div><div><font color="#999999">&nbsp; &nbsp; //</font></div><div><font color="#999999">&nbsp; &nbsp; // after columns and data have been added call Populate to&nbsp;</font></div><div><font color="#999999">&nbsp; &nbsp; // populate all of the date for the control.</font></div><div><font color="#999999">&nbsp; &nbsp; //</font></div><div><br></div>&nbsp; &nbsp; m_wndReportCtrl.Populate();</pre></td></tr></table><br><br>Every row described by class <font color="#00ccff"><b>CMessageRecord </b></font>which contents 4 items&nbsp;CXTPReportRecordItemText,&nbsp;CMessageRecordItemCheckGroup,&nbsp;CMessageRecordItemRadioGroup,&nbsp;CXTPReportRecordItemProgress.<br><br><span style="line-height: 16.8px;">CXTPReportRecordItemText and&nbsp;</span><span style="line-height: 16.8px;">CXTPReportRecordItemProgress are</span><span style="line-height: 16.8px;">&nbsp;drawed as default.</span><br><span style="line-height: 16.8px;">CMessageRecordItemCheckGroup and CMessageRecordItemRadioGroup are drawed with method&nbsp;</span>CCustomDrawReportDlg::DrawItem(). &nbsp;You can set breakpoints to see callstack.<br><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Tue, 14 Mar 2017 08:44:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75631&amp;title=report-control-customdrawreport#75631</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control CustomDrawReport : I am in the process of looking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75630&amp;title=report-control-customdrawreport#75630</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6504">Andy121070</a><br /><strong>Subject:</strong> 23288<br /><strong>Posted:</strong> 14 March 2017 at 6:11am<br /><br />I am in the process of looking at generating a report that looks similar to the CustomDrawReport.exe sample. &nbsp;I have had a look at the samples and sample source code but can't find anything relating to how you get a report row to display like the sample above.<div><br></div><div>Does anyone have any example source code of this in use that I can take a look at?</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 14 Mar 2017 06:11:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23288&amp;PID=75630&amp;title=report-control-customdrawreport#75630</guid>
  </item> 
 </channel>
</rss>