<?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 : CXTPReportC&#111;ntrol and C&#070;ormView</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : CXTPReportC&#111;ntrol and C&#070;ormView]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 00:13:57 +0000</pubDate>
  <lastBuildDate>Fri, 09 Sep 2005 13:37:54 +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=2624</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[CXTPReportC&#111;ntrol and C&#070;ormView : Hi As in TabbedView sample you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8556&amp;title=cxtpreportcontrol-and-cformview#8556</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 09 September 2005 at 1:37pm<br /><br /><P>Hi</P><P>As in TabbedView sample you must catch MouseActivate message and don't call base class.</P><P>Also I added some clipping styles to prevent flickers.</P><P>See Result:</P><P><A href="http://forum.codejock.com/uploads/oleg/2005-09-09_133649_SimpleReport.zip" target="_blank">2005-09-09_133649_SimpleReport.zip</A></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 09 Sep 2005 13:37:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8556&amp;title=cxtpreportcontrol-and-cformview#8556</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : Hello, I have modified your sample,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8551&amp;title=cxtpreportcontrol-and-cformview#8551</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1458">yannick</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 09 September 2005 at 8:32am<br /><br /><P>Hello,</P><P>I have modified your sample, the prolem is that it's difficult to edit an item on the report control.</P><P>you can dowload it on : </P><B><FONT color=#0000ff><P>http://ik180.ikexpress.com/~fred/dl/SimpleReport.zip</P></B></FONT><P>Thank you for your help.</P><P>Best Regards, Yannick.</P><span style="font-size:10px"><br /><br />Edited by yannick</span>]]>
   </description>
   <pubDate>Fri, 09 Sep 2005 08:32:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8551&amp;title=cxtpreportcontrol-and-cformview#8551</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : Hi, ok, try to modify attached...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8549&amp;title=cxtpreportcontrol-and-cformview#8549</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 09 September 2005 at 5:36am<br /><br /><P>Hi,</P><P>ok, try to modify attached sample to make same chart and attach here, I will show what you must change.</P>]]>
   </description>
   <pubDate>Fri, 09 Sep 2005 05:36:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8549&amp;title=cxtpreportcontrol-and-cformview#8549</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : Hello, Thank you for you help! But...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8538&amp;title=cxtpreportcontrol-and-cformview#8538</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1458">yannick</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 08 September 2005 at 10:45am<br /><br /><P>Hello,</P><P>Thank you for you help!</P><P>But I have to search again, because I have different view chart:</P><P>I have&nbsp;the MainView (a CView).</P><P>The MainView have a CXTPTabControl, and&nbsp;each Tabs&nbsp;contain a CXTResizeFormView.</P><P>So I think there is a problem with the windows communications (Bad Messages Handling or a bad property or something like this....).</P><P>If you have time for make me a sample with this view chart it will be very nice.</P><P>I'am searching too about this problem.</P><P>Thank you very very much, and congratulation for the codejock team &amp; products.</P><P>Regards.</P><P><A href="mailto:yannick@nicolaudie.com" target="_blank">yannick@nicolaudie.com</A></P><P><A href="http://www.nicolaudie.com" target="_blank">www.nicolaudie.com</A></P><P>&nbsp;</P><P><FONT color=#808080 size=4>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Thu, 08 Sep 2005 10:45:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8538&amp;title=cxtpreportcontrol-and-cformview#8538</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : 2005-09-08_070153_SimpleReport.zip I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8529&amp;title=cxtpreportcontrol-and-cformview#8529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 08 September 2005 at 7:02am<br /><br /><P><A href="http://forum.codejock.com/uploads/oleg/2005-09-08_070153_SimpleReport.zip" target="_blank">2005-09-08_070153_SimpleReport.zip</A></P><P>I tried to reproduce problem, but without success. Try attached sample, do you see your problem with it?</P>]]>
   </description>
   <pubDate>Thu, 08 Sep 2005 07:02:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8529&amp;title=cxtpreportcontrol-and-cformview#8529</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : hi, Yes I have already set this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8527&amp;title=cxtpreportcontrol-and-cformview#8527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1458">yannick</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 08 September 2005 at 4:30am<br /><br /><P>hi,</P><P>Yes I have already set this property.</P><P>My problem is that I cannot edit the Item like in the CodeJock Sample.</P><P>If I use this control with a CDialog, it work fine, I can edit and modify item.</P><P>But I need to use a CXTResizeFormView and with that one It's very difficult to edit the items....(I must click several times at the begening&nbsp;of the item text,if I click in the middle of the item area, I can't edit it...)</P><P>Do&nbsp;you know something about this problem?</P><P>Is Codejock Team can Help Me?</P><P>&nbsp;</P><P>Thanks a lot</P><span style="font-size:10px"><br /><br />Edited by yannick</span>]]>
   </description>
   <pubDate>Thu, 08 Sep 2005 04:30:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8527&amp;title=cxtpreportcontrol-and-cformview#8527</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : Write &amp;#034;XTPReport&amp;#034; for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8525&amp;title=cxtpreportcontrol-and-cformview#8525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 08 September 2005 at 3:59am<br /><br />Write "XTPReport" for the class property of the control. <!-- Signature --><BR>]]>
   </description>
   <pubDate>Thu, 08 Sep 2005 03:59:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8525&amp;title=cxtpreportcontrol-and-cformview#8525</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : Hello,  I have the same problem,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8520&amp;title=cxtpreportcontrol-and-cformview#8520</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1458">yannick</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 07 September 2005 at 7:55am<br /><br /><P>Hello,</P><P>&nbsp;</P><P>I have the same problem, can you give me the solution?</P><P>Thank you!</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 07 Sep 2005 07:55:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=8520&amp;title=cxtpreportcontrol-and-cformview#8520</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : Just in case anyone else ever...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=7855&amp;title=cxtpreportcontrol-and-cformview#7855</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1331">tjohnson</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 26 July 2005 at 8:58am<br /><br />Just in case anyone else ever needs to know this, the solution was that I should have used the value "XTPReport" for the class property of the control. ]]>
   </description>
   <pubDate>Tue, 26 Jul 2005 08:58:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=7855&amp;title=cxtpreportcontrol-and-cformview#7855</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol and C&#070;ormView : In an attempt to learn about the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=7808&amp;title=cxtpreportcontrol-and-cformview#7808</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1331">tjohnson</a><br /><strong>Subject:</strong> 2624<br /><strong>Posted:</strong> 22 July 2005 at 11:05am<br /><br /><P><FONT size=2>In an attempt to learn about the CXTPReportControl, I've been trying to use it as a control within a CFormView.&nbsp; I've set up a Visual Studio project with the main view class being CFormView.&nbsp; Then, using the resource editor, I've added a custom control to the form.&nbsp; In the properties box, I assign "CXTPReportControl" to the class property and rename the control IDC_REPORT.&nbsp; I then right click on the control and choose "Add variable ...".&nbsp; In this dialog, I specify the CXTPReportControl again and choose XTToolkitPro.h/.cpp for the header/cpp files.&nbsp; </FONT></P><P><FONT size=2>I then code OnInitialUpdate as follows:</FONT></P><P><table width="99%"><tr><td><pre class="BBcode"></P><FONT size=2><P>CFormView::OnInitialUpdate();</P><P>GetParentFrame()-&gt;RecalcLayout();</P><P>ResizeParentToFit();</P><P></FONT><FONT size=2>reptCtrl.ModifyStyle(0, WS_CLIPCHILDREN|WS_CLIPSIBLINGS|WS_TABSTOP);</P></FONT><FONT size=2><P></FONT><FONT size=2>reptCtrl.GetReportHeader()-&gt;AllowColumnRemove(FALSE);</P></FONT><FONT size=2><P></FONT><FONT size=2>reptCtrl.AddColumn(new CXTPReportColumn(0, _T("Column1"), 250));</P></FONT><FONT size=2><P></FONT><FONT size=2>reptCtrl.AddColumn(new CXTPReportColumn(1, _T("Column2"), 250));</P></FONT><FONT size=2><P></FONT><FONT size=2>CString str;</P></FONT><FONT size=2><P></FONT><FONT size=2>for (int i = 0; i &lt; 1000; i++)</FONT><FONT size=2>{</P></FONT><FONT size=2><P></FONT><FONT size=2>&nbsp;CXTPReportRecord* pRecord = reptCtrl.AddRecord(new CXTPReportRecord());</P></FONT><FONT size=2><P></FONT><FONT size=2>&nbsp;pRecord-&gt;AddItem(new CXTPReportRecordItemNumber(i, _T("Item %2.0f")));</P></FONT><FONT size=2><P></FONT><FONT size=2>&nbsp;str.Format(_T("Item %i"), i);</P></FONT><FONT size=2><P></FONT><FONT size=2>&nbsp;pRecord-&gt;AddItem(new CXTPReportRecordItemText(str));</P></FONT><FONT size=2><P></FONT><FONT size=2>}</P></FONT><FONT size=2><P></FONT><FONT size=2>reptCtrl.GetPaintManager()-&gt;m_columnStyle = xtpColumnFlat;</P></FONT><FONT size=2><P></FONT><FONT color=#000000 size=2>reptCtrl.Populate();</FONT></P><P><FONT color=#008000 size=2><FONT color=#000000></pre></td></tr></table></FONT></FONT></P><P><FONT color=#008000><FONT color=#000000 size=2>When I compile and run my project, I get a message box that says "Failed to create empty document" and the program exits.&nbsp;If I remove the CXTPReportControl from the form and replace it with any other control, the message box goes away and the program displays an empty form (well empty other than whatever control I put on it). </FONT></FONT></P><P><FONT color=#008000><FONT color=#000000 size=2>I've also experimented with just using a CDialog instead of CFormView (taking cues from the VirtualList example).&nbsp; I get the same "empty document" message box.&nbsp; </FONT></FONT></P><P><FONT color=#008000><FONT color=#000000 size=2>The only way I've been successful in using the CXTPReportControl is by using the CXTPReportView class.&nbsp; I see from your samples, however, that I should be able to just embed the control itself on another form and get it to work. </FONT></FONT></P><P><FONT color=#008000><FONT color=#000000 size=2>What am I missing?</FONT></P></FONT>]]>
   </description>
   <pubDate>Fri, 22 Jul 2005 11:05:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2624&amp;PID=7808&amp;title=cxtpreportcontrol-and-cformview#7808</guid>
  </item> 
 </channel>
</rss>