<?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 : Error when added many CXTPReportView in TabbedView</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Error when added many CXTPReportView in TabbedView]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 13:47:16 +0000</pubDate>
  <lastBuildDate>Fri, 18 Jul 2008 00:50:21 +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=11482</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[Error when added many CXTPReportView in TabbedView : I added 200 CXTPReportView in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11482&amp;PID=38533&amp;title=error-when-added-many-cxtpreportview-in-tabbedview#38533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 11482<br /><strong>Posted:</strong> 18 July 2008 at 12:50am<br /><br />I added 200 CXTPReportView in TabbedView:<DIV>&nbsp;</DIV><DIV>int CTabbedViewView::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{<BR>&nbsp;if (CView::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;&nbsp;return -1;</DIV><DIV>&nbsp;m_wndTabControl.Create(WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, CRect(0, 0, 0, 0), this, IDC_TABCONTROL);<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;SetAppearance(xtpTabAppearancePropertyPage2003);<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;m_bHotTracking = TRUE;<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;m_bShowIcons = TRUE;<BR>&nbsp;m_wndTabControl.GetPaintManager()-&gt;DisableLunaColors(FALSE);</DIV><DIV>&nbsp;m_wndTabControl.GetImageManager()-&gt;SetIcons(IDB_TAB_ICONS, NULL, 0, CSize(16, 16), xtpImageNormal);</DIV><DIV>&nbsp;AddView(RUNTIME_CLASS(CEditControlView), _T("Edit Control"), 3);<BR>&nbsp;AddView(RUNTIME_CLASS(CFileTreeView), _T("File Tree"), 0);<BR>&nbsp;AddView(RUNTIME_CLASS(CClassTreeView), _T("Class Tree"), 4);<BR>&nbsp;AddView(RUNTIME_CLASS(CResourceTreeView), _T("Resource Tree"), 2);<BR>&nbsp;AddView(RUNTIME_CLASS(CPropertiesView), _T("Properties"), 1);</DIV><DIV>&nbsp;CString&nbsp;strTabTitle;<BR>&nbsp;for (int i = 0; i &lt; 200; ++i)<BR>&nbsp;{<BR>&nbsp;&nbsp;strTabTitle.Format("Report View %d", i + 1);<BR>&nbsp;&nbsp;AddView(RUNTIME_CLASS(CXTPReportView), strTabTitle, 0);<BR>&nbsp;}</DIV><DIV>&nbsp;return 0;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>Compile and run it.</DIV><DIV>Maximize the window and the view;</DIV><DIV>Click the tab from "Report View 1" to "Report View 200".</DIV><DIV>Like this:</DIV><DIV><img src="https://forum.codejock.com/uploads/20080718_004204_2008-07-18_1228.png" border="0"></DIV><DIV>(<FONT color=#990000>My computer: Intel Core 2 Quad CPU Q6600 @2.4GHz; 2.00GB Memory; 1440*960 LCD.)</FONT></DIV><DIV>&nbsp;</DIV><DIV>when clicked about&nbsp; "Report View 114", the window painted ugly.(I'm sorry to say that i can't capture the window!)</DIV><DIV>&nbsp;</DIV><DIV>and on a computer of <FONT color=#990000>Intel Pentium IV 3.0GHz; 1.00GB Memory; 1280*1024 LCD, </FONT><FONT color=#000000>it appears at "Report View 22" or more.</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV>but if i replace&nbsp;&nbsp;CXTPReportView with CEditView, it works well.</DIV><DIV>&nbsp;</DIV><DIV>why?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 18 Jul 2008 00:50:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11482&amp;PID=38533&amp;title=error-when-added-many-cxtpreportview-in-tabbedview#38533</guid>
  </item> 
 </channel>
</rss>