<?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 : I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but ..</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but ..]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 17:39:54 +0000</pubDate>
  <lastBuildDate>Fri, 30 May 2008 08:48:51 +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=10827</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[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : yes!!  thank u, Oleg! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=36026&amp;title=i-combined-reportsample-and-tabbedview-but#36026</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 30 May 2008 at 8:48am<br /><br />yes!!<DIV>&nbsp;</DIV><DIV>thank u, Oleg!</DIV>]]>
   </description>
   <pubDate>Fri, 30 May 2008 08:48:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=36026&amp;title=i-combined-reportsample-and-tabbedview-but#36026</guid>
  </item> 
  <item>
   <title><![CDATA[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : Hi,  Add  m_wndScrollBar.S...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=36000&amp;title=i-combined-reportsample-and-tabbedview-but#36000</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 30 May 2008 at 1:46am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Add</DIV><DIV>&nbsp;</DIV><FONT color=#030003 size=1><FONT color=#030003 size=1><P>m_wndScrollBar</FONT></FONT><FONT size=1>.</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>SetCommandBars</FONT></FONT><FONT size=1>(((</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>CXTPFrameWnd</FONT></FONT><FONT size=1>*)</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>GetParentFrame</FONT></FONT><FONT size=1>())-&gt;</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>GetCommandBars</FONT></FONT><FONT size=1>());</P><DIV></DIV><P>and move</P><DIV></DIV><FONT color=#008000 size=1><FONT color=#008000 size=1><P>// create a view to occupy the client area of the frame</P></FONT></FONT><FONT size=1><P></FONT><FONT color=#0000ff size=1><FONT color=#0000ff size=1>if</FONT></FONT><FONT size=1> (!</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>m_wndView</FONT></FONT><FONT size=1>.</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>Create</FONT></FONT><FONT size=1>(</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>NULL</FONT></FONT><FONT size=1>, </FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>NULL</FONT></FONT><FONT size=1>, </FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>AFX_WS_DEFAULT_VIEW</FONT></FONT><FONT size=1>,</P><P></FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>CRect</FONT></FONT><FONT size=1>(0, 0, 0, 0), </FONT><FONT color=#0000ff size=1><FONT color=#0000ff size=1>this</FONT></FONT><FONT size=1>, </FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>AFX_IDW_PANE_FIRST</FONT></FONT><FONT size=1>, </FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>NULL</FONT></FONT><FONT size=1>))</P><P>{</P><P></FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>TRACE0</FONT></FONT><FONT size=1>(</FONT><FONT color=#a31515 size=1><FONT color=#a31515 size=1>"Failed to create view window\n"</FONT></FONT><FONT size=1>);</P><P></FONT><FONT color=#0000ff size=1><FONT color=#0000ff size=1>return</FONT></FONT><FONT size=1> -1;</P><P>}</P><DIV></DIV><DIV></DIV>after <DIV></DIV><FONT color=#0000ff size=1><FONT color=#0000ff size=1><P>if</FONT></FONT><FONT size=1> (!</FONT><FONT color=#030003 size=1><FONT color=#030003 size=1>InitCommandBars</FONT></FONT><FONT size=1>())</P><P></FONT><FONT color=#0000ff size=1><FONT color=#0000ff size=1>return</FONT></FONT><FONT size=1> -1;</P></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 30 May 2008 01:46:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=36000&amp;title=i-combined-reportsample-and-tabbedview-but#36000</guid>
  </item> 
  <item>
   <title><![CDATA[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : Hello Oleg,   Excuse me for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35996&amp;title=i-combined-reportsample-and-tabbedview-but#35996</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 30 May 2008 at 12:25am<br /><br />Hello Oleg, <DIV>&nbsp;</DIV><DIV>Excuse me for asking again!</DIV><DIV>&nbsp;</DIV><DIV>In my app, I don't need document, so I created a project without document architecture.</DIV><DIV>I added a tabbedview and a reportview&nbsp;just like before.</DIV><DIV>but the scrollbar goes back to old style:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080530_001749_2008-05-30_1211.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I attached my project here <a href="https://forum.codejock.com/uploads/20080530_002000_TabbedReport.zip" target="_blank">uploads/20080530_002000_TabbedReport.zip</A></DIV><DIV>&nbsp;</DIV><DIV>I think may be it is because my CChildView is not&nbsp;derived from CView but CWnd.</DIV><DIV>&nbsp;</DIV><DIV>can you help me?</DIV>]]>
   </description>
   <pubDate>Fri, 30 May 2008 00:25:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35996&amp;title=i-combined-reportsample-and-tabbedview-but#35996</guid>
  </item> 
  <item>
   <title><![CDATA[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : Hi,  Sorry, seems no :( ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35986&amp;title=i-combined-reportsample-and-tabbedview-but#35986</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 29 May 2008 at 3:06pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Sorry, seems no :(</DIV>]]>
   </description>
   <pubDate>Thu, 29 May 2008 15:06:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35986&amp;title=i-combined-reportsample-and-tabbedview-but#35986</guid>
  </item> 
  <item>
   <title><![CDATA[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : sorry, i forget this: CXTPPai...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35979&amp;title=i-combined-reportsample-and-tabbedview-but#35979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 29 May 2008 at 9:55am<br /><br /><P>sorry, i forget this:</P><DIV>&nbsp;CXTPPaintManager::SetTheme(xtpThemeRibbon);<BR></DIV><DIV>&nbsp;</DIV><DIV>It's OK now.</DIV><DIV>&nbsp;</DIV><DIV>thanks, oleg.</DIV><DIV>&nbsp;</DIV><DIV>but can I add a <FONT color=#ff0000>horizontal&nbsp;</FONT>CXTPScrollbar?</DIV><DIV><img src="https://forum.codejock.com/uploads/20080529_101155_2008-05-29_2209.png" border="0"></DIV>]]>
   </description>
   <pubDate>Thu, 29 May 2008 09:55:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35979&amp;title=i-combined-reportsample-and-tabbedview-but#35979</guid>
  </item> 
  <item>
   <title><![CDATA[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : Hi, See code of Reportsample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35974&amp;title=i-combined-reportsample-and-tabbedview-but#35974</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 29 May 2008 at 8:58am<br /><br />Hi,<DIV>See code of Reportsample - it adds CXTPScrollBar.</DIV>]]>
   </description>
   <pubDate>Thu, 29 May 2008 08:58:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35974&amp;title=i-combined-reportsample-and-tabbedview-but#35974</guid>
  </item> 
  <item>
   <title><![CDATA[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : the code is like this:  class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35973&amp;title=i-combined-reportsample-and-tabbedview-but#35973</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 29 May 2008 at 7:43am<br /><br />the code is like this:<DIV>&nbsp;</DIV><DIV><BR>class CTabbedReport : public CXTPReportView<BR>{<BR>public:<BR>&nbsp;CXTPScrollBar m_wndScrollBar;<BR>protected:<BR>&nbsp;CTabbedReport(){}<BR>&nbsp;DECLARE_DYNCREATE(CTabbedReport)</DIV><DIV>&nbsp;afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);<BR>&nbsp;DECLARE_MESSAGE_MAP()<BR>};</DIV><DIV>IMPLEMENT_DYNCREATE(CTabbedReport, CXTPReportView)</DIV><DIV>BEGIN_MESSAGE_MAP(CTabbedReport, CXTPReportView)<BR>&nbsp;ON_WM_CREATE()<BR>END_MESSAGE_MAP()</DIV><DIV>int CTabbedReport::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{<BR>&nbsp;if (CXTPReportView::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;&nbsp;return -1;</DIV><DIV>&nbsp;m_wndReport.GetPaintManager()-&gt;SetColumnStyle(xtpReportColumnOffice2007);</DIV><DIV>&nbsp;m_wndScrollBar.Create(WS_CHILD | WS_VISIBLE | SBS_VERT, CRect(0, 0, 0, 0), this, 100);<BR>&nbsp;m_wndScrollBar.SetScrollBarStyle(xtpScrollStyleOffice2007Dark);<BR>&nbsp;SetScrollBarCtrl(&amp;m_wndScrollBar);</DIV><DIV>&nbsp;return 0;<BR>}<BR></DIV><DIV>//</DIV><DIV>int CTabbedViewView::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{<BR>&nbsp;if (CView::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;&nbsp;return -1;</DIV><DIV>&nbsp;//.......</DIV><DIV>&nbsp;AddView(RUNTIME_CLASS(CResourceTreeView), _T("Resource Tree"), 2);<BR>&nbsp;AddView(RUNTIME_CLASS(CPropertiesView), _T("Properties"), 1);<BR>&nbsp;<FONT color=#ff0000>AddView(RUNTIME_CLASS(CTabbedReport), _T("Report"), 1);</FONT></DIV><DIV>&nbsp;return 0;<BR>}</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 29 May 2008 07:43:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35973&amp;title=i-combined-reportsample-and-tabbedview-but#35973</guid>
  </item> 
  <item>
   <title><![CDATA[I combined &quot;ReportSample&quot; and &quot;TabbedView&quot;, but .. : In &amp;#034;ReportSample&amp;#034;, the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35972&amp;title=i-combined-reportsample-and-tabbedview-but#35972</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1897">shineryu</a><br /><strong>Subject:</strong> 10827<br /><strong>Posted:</strong> 29 May 2008 at 7:40am<br /><br /><DIV>In "ReportSample", the vertical scrollbar is like this:</DIV><DIV><img src="https://forum.codejock.com/uploads/20080529_073848_2008-05-29_1930.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I combined "ReportSample" and "TabbedView", but the scrollbar:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080529_073943_2008-05-29_1934.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Why?</DIV>]]>
   </description>
   <pubDate>Thu, 29 May 2008 07:40:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10827&amp;PID=35972&amp;title=i-combined-reportsample-and-tabbedview-but#35972</guid>
  </item> 
 </channel>
</rss>