<?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 : Migrating old code to visual studios 2012</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Migrating old code to visual studios 2012]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 02:30:42 +0000</pubDate>
  <lastBuildDate>Tue, 08 Aug 2017 12:08: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=23375</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[Migrating old code to visual studios 2012 : Hello,OnlyCRect rcClip was added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=76008&amp;title=migrating-old-code-to-visual-studios-2012#76008</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23375<br /><strong>Posted:</strong> 08 August 2017 at 12:08pm<br /><br />Hello,<br><br>Only&nbsp;CRect rcClip &nbsp;was added to Draw&nbsp;method from 2008 year.<br><br>CXTPReportRow::Draw(CDC *pDC, CRect rcRow,<b>&nbsp;CRect rcClip</b>, int nLeftOffset, CXTPReportRecordMergeItems &amp;mergeItems)<br><br>Instead of&nbsp;<br>CRect rcClipBox = m_pControl-&gt;GetReportRectangle(); in code below.<br><br>It is for properly support of drawing fixed (frozen) rows.<div><br>Regards,<br>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Tue, 08 Aug 2017 12:08:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=76008&amp;title=migrating-old-code-to-visual-studios-2012#76008</guid>
  </item> 
  <item>
   <title><![CDATA[Migrating old code to visual studios 2012 : Thanks, for the help. I had another...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=76007&amp;title=migrating-old-code-to-visual-studios-2012#76007</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9170">grantguglielmo</a><br /><strong>Subject:</strong> 23375<br /><strong>Posted:</strong> 08 August 2017 at 11:45am<br /><br />Thanks, for the help. I had another question about the Draw function in CTXPReportRow, it looks like a lot of new arguments were added. What were the changes to the new Draw?]]>
   </description>
   <pubDate>Tue, 08 Aug 2017 11:45:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=76007&amp;title=migrating-old-code-to-visual-studios-2012#76007</guid>
  </item> 
  <item>
   <title><![CDATA[Migrating old code to visual studios 2012 : Hello,CXTPReportRow::InitRow(CXTPReportControl*...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=75911&amp;title=migrating-old-code-to-visual-studios-2012#75911</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23375<br /><strong>Posted:</strong> 30 June 2017 at 7:54am<br /><br />Hello,<br><br><b><span style=": rgb248, 248, 252;">CXTPReportRow::</span>InitRow</b>(CXTPReportControl* pControl, CXTPReportRecord* pRecord) &nbsp;replaced with&nbsp;<br><div>InitRow(CXTPReportControl *pControl, <b><font color="#00cc00">CXTPReportSection *pSection,</font></b>&nbsp;CXTPReportRecord &nbsp;*pRecord)</div><br><span style=": rgb248, 248, 252;"><b>m_nPopulatedRecordsCount</b> &nbsp;allocated in CXTPReportSection&nbsp; (Source\ReportControl\XTPReportSection.h)</span><br>Geter is&nbsp;CXTPReportSection::GetPopulatedRecordsCount()<br><br>for&nbsp;<b>SetVirtualMode</b> &nbsp;use &nbsp;CXTPReportControl::SetVirtualMode(CXTPReportRecord* pVirtualRecord, int nCount, int nFields)<br><br><b><span style=": rgb248, 248, 252;">m_arrScreenRows</span>&nbsp; </b>moved&nbsp;to CTXPReportRows <table width="99%"><tr><td><pre class="BBcode">CXTPReportScreenRows *pScreenRows = pControl-&gt;GetRows()-&gt;GetScreenRows();<br>or<br>pRow = pSection-&gt;GetRows()-&gt;GetScreenRows()-&gt;HitTest(pt);</pre></td></tr></table><br><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Fri, 30 Jun 2017 07:54:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=75911&amp;title=migrating-old-code-to-visual-studios-2012#75911</guid>
  </item> 
  <item>
   <title><![CDATA[Migrating old code to visual studios 2012 : I am trying to migrate an old...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=75907&amp;title=migrating-old-code-to-visual-studios-2012#75907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9170">grantguglielmo</a><br /><strong>Subject:</strong> 23375<br /><strong>Posted:</strong> 28 June 2017 at 2:14pm<br /><br />I am trying to migrate an old application(~2008) to compile in visual studios 2012, but it seems like the newest version of toolkit pro doesn't support some of the old reportcontrol code. Specifically i get errors like:<div><br><div><div>1&gt;c:\products_complete\app\dumpview.cpp(210): error C2661: 'CXTPReportRow::InitRow' : no overloaded function takes 2 arguments</div><div>1&gt;c:\products_complete\app\dumpview.cpp(334): error C2065: 'm_nPopulatedRecordsCount' : undeclared identifier</div><div>1&gt;c:\products_complete\app\dumpview.cpp(362): error C2065: 'm_pRecords' : undeclared identifier</div></div><div><div>1&gt;c:\products_complete\app\dumpview.cpp(689): error C2065: 'm_arrScreenRows' : undeclared identifier</div></div><div><br></div></div><div>Here is line 362 for the m_pRecords error:</div><div>((CVirtualRecords *)m_pRecords)-&gt;SetVirtualMode(pVirtualRecord, nCount);</div><div><br></div><div>Is there any sort of documentation that list changes that broke support for older versions? If not, does anyone know how to fix errors like these?</div>]]>
   </description>
   <pubDate>Wed, 28 Jun 2017 14:14:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23375&amp;PID=75907&amp;title=migrating-old-code-to-visual-studios-2012#75907</guid>
  </item> 
 </channel>
</rss>