<?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</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPReportC&#111;ntrol]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 20:13:56 +0000</pubDate>
  <lastBuildDate>Tue, 21 Dec 2004 03:53:50 +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=1546</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 :   oleg wrote: ... void CXTPReportControl::DrawRows(CDC*...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4481&amp;title=cxtpreportcontrol#4481</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 21 December 2004 at 3:53am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><P>...</P><P>void CXTPReportControl::DrawRows(CDC* pDC, CRect&amp; rcClient)<BR>{<BR>&nbsp;if (m_pColumns-&gt;GetReportHeader()-&gt;GetNextVisibleColumn(- 1, 1) == NULL)<BR>&nbsp;&nbsp;return;</P><P>...</P><P></td></tr></table> </P><P>Yes, that did the trick <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp;Will this fix be in the next release, so that I (and others) won't have to repeat it again?</P><P>And also, when is the next update due?</P><P>Thanks.</P>]]>
   </description>
   <pubDate>Tue, 21 Dec 2004 03:53:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4481&amp;title=cxtpreportcontrol#4481</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol : ... void CXTPReportControl::DrawRows(CDC*...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4480&amp;title=cxtpreportcontrol#4480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 21 December 2004 at 3:48am<br /><br /><P>...</P><P>void CXTPReportControl::DrawRows(CDC* pDC, CRect&amp; rcClient)<BR>{<BR>&nbsp;if  (m_pColumns-&gt;GetReportHeader()-&gt;GetNextVisibleColumn(- 1, 1) == NULL)<BR>&nbsp;&nbsp;return;</P><P>...</P>]]>
   </description>
   <pubDate>Tue, 21 Dec 2004 03:48:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4480&amp;title=cxtpreportcontrol#4480</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol :   oleg wrote: Thank you. Fixed.  To...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4459&amp;title=cxtpreportcontrol#4459</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 20 December 2004 at 4:00am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><P>Thank you. Fixed.</P><P>&nbsp;</P><P>To fix it in your source, please add in void CXTPReportHeader::AdjustColumnsWidth(int nTotalWidth, int nFirstIndex):</P><P>&nbsp;</P><P>if (m_nHeaderWidth == 0)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;m_nHeaderWidth = nTotalWidth;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;}</P><P></td></tr></table> </P><P>Sorry, it doesn't seem to work <IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0">&nbsp;It now shows the gray bar and that's great, but it also now shows empty rows (grid lines) when there're no columns present. A screenshot is attached :<IMG src="uploads/dennisV/2004-12-20_040619_bad-reportc&#111;ntrol.jpg" border="0"></P><P>Thanks</P><span style="font-size:10px"><br /><br />Edited by dennisV</span>]]>
   </description>
   <pubDate>Mon, 20 Dec 2004 04:00:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4459&amp;title=cxtpreportcontrol#4459</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol : Thank you. Fixed.  To fix it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4455&amp;title=cxtpreportcontrol#4455</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 20 December 2004 at 3:44am<br /><br /><P>Thank you. Fixed.</P><P>&nbsp;</P><P>To fix it in your source, please add in void CXTPReportHeader::AdjustColumnsWidth(int nTotalWidth, int nFirstIndex):</P><P>&nbsp;</P><P>if (m_nHeaderWidth == 0)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;m_nHeaderWidth = nTotalWidth;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;}</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 20 Dec 2004 03:44:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4455&amp;title=cxtpreportcontrol#4455</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol :   ICBM wrote: I get this broken...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4453&amp;title=cxtpreportcontrol#4453</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 19 December 2004 at 11:36pm<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by ICBM" alt="Originally posted by ICBM" style="vertical-align: text-bottom;" /> <strong>ICBM wrote:</strong><br /><br /></P><P>I get this broken behaviour too. Problem is that, with no columns displayed, the&nbsp;context menu (needed to access the field chooser) does not appear when you right click the header, which is blank.</P><P>It also brings up a secondary issue with the sample code - the field chooser is implemented as a dialog bar, which is no good if you are using the report control (note: control, not view) with an application whose main window is a dialog box.</P><P>&nbsp;</P><P></td></tr></table> </P><P>It works fine if you have auto-sizing turned on, but it doesn't work (the grey area doesn't appear) with auto-sizing off. Could the support please clarify if it's possible to have auto-sizing turned off and still have the grey bar at the top of the report control?</P><P>Thanks,</P>]]>
   </description>
   <pubDate>Sun, 19 Dec 2004 23:36:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4453&amp;title=cxtpreportcontrol#4453</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol : I get this broken behaviour too....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4445&amp;title=cxtpreportcontrol#4445</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=312">ICBM</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 19 December 2004 at 4:14pm<br /><br /><P>I get this broken behaviour too. Problem is that, with no columns displayed, the&nbsp;context menu (needed to access the field chooser) does not appear when you right click the header, which is blank.</P><P>It also brings up a secondary issue with the sample code - the field chooser is implemented as a dialog bar, which is no good if you are using the report control (note: control, not view) with an application whose main window is a dialog box.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Sun, 19 Dec 2004 16:14:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4445&amp;title=cxtpreportcontrol#4445</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol : Doesn&amp;#039;t work for me Perhaps...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4422&amp;title=cxtpreportcontrol#4422</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 17 December 2004 at 7:48am<br /><br /><P>Doesn't work for me <IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0">&nbsp;Perhaps I'm missing some important line of code, but I don't really know which.</P><P>Just compared what it looks like with the original CodeJock sample and I don't have the gray line in which all columns actually are supposed to be. My control is totally white, without the top light-gray line. Where did it go?</P>]]>
   </description>
   <pubDate>Fri, 17 Dec 2004 07:48:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4422&amp;title=cxtpreportcontrol#4422</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol : If all columns are removed you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4421&amp;title=cxtpreportcontrol#4421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 17 December 2004 at 7:41am<br /><br />If all columns are removed you can't drag and drop a column from the field chooser?&nbsp; I just tried this with no problems.]]>
   </description>
   <pubDate>Fri, 17 Dec 2004 07:41:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4421&amp;title=cxtpreportcontrol#4421</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol : I tried searching, but didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4418&amp;title=cxtpreportcontrol#4418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=760">dennisV</a><br /><strong>Subject:</strong> 1546<br /><strong>Posted:</strong> 17 December 2004 at 6:43am<br /><br /><P>I tried searching, but didn't find any info on this - perhaps I missed it, but...</P><P>When I remove all columns from the report control by dragging them off it, how do I get them back? I mean, when there isn't a single column in the control, there's nothing for other columns to dock on upon dragging them from the field chooser. So, once all columns are removed, the only solution is to delete the registry key (I store control state there). But there must be some way to restore columns - please help <IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></P>]]>
   </description>
   <pubDate>Fri, 17 Dec 2004 06:43:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1546&amp;PID=4418&amp;title=cxtpreportcontrol#4418</guid>
  </item> 
 </channel>
</rss>