<?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 : CXTExcelTabCtrl and CView Client Area</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTExcelTabCtrl and CView Client Area]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 01:27:30 +0000</pubDate>
  <lastBuildDate>Sat, 09 May 2009 05:14:37 +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=14188</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[CXTExcelTabCtrl and CView Client Area : Hi;Try using CXTPTabControl. We...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14188&amp;PID=48816&amp;title=cxtexceltabctrl-and-cview-client-area#48816</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 14188<br /><strong>Posted:</strong> 09 May 2009 at 5:14am<br /><br />Hi;<br>Try using CXTPTabControl. We had similar problems and fixed them by using this control instead of <font size="2">CXTExcelTabCtrl. </font><font size="2">CXTExcelTabCtrl is not intented to be used as a control container...<br></font>]]>
   </description>
   <pubDate>Sat, 09 May 2009 05:14:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14188&amp;PID=48816&amp;title=cxtexceltabctrl-and-cview-client-area#48816</guid>
  </item> 
  <item>
   <title><![CDATA[CXTExcelTabCtrl and CView Client Area : Hallo  I am having a problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14188&amp;PID=48506&amp;title=cxtexceltabctrl-and-cview-client-area#48506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2736">asparagusx</a><br /><strong>Subject:</strong> 14188<br /><strong>Posted:</strong> 30 April 2009 at 12:19pm<br /><br />Hallo<DIV>&nbsp;</DIV><DIV>I am having a problem when using OnSize of my view derived class. I have a <FONT size=2>CXTExcelTabCtrl derived class which is created as follows :</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>bool</FONT></FONT><FONT size=2> CGenes1sView::CreateDwgTabs(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2>)</P><P>{</P><P>CXTPEmptyRect rTab; </P><P></P><P>DwgTabs = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> CDwgTab(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>if</FONT></FONT><FONT size=2> (DwgTabs-&gt;Create(WS_CHILD | WS_VISIBLE | DwgTabStyle, rTab, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>, IDC_DWG_TABS)) </P><P>{</P><P>DwgTabs-&gt;Rebuild();</P><P>ShowScrollBar(SB_HORZ,FALSE);</P><P>}</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>return</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>true</FONT></FONT><FONT size=2>;</P><P>}</P><DIV>My problem is that the client area of my view, still 'includes' the tabs (created at the bottom of the view). This is some code from my OnSize function :</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2><P>CRect newsize(0,0,cx,cy);</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>int</FONT></FONT><FONT size=2> Height = (GetViewType() == VIEWTYPE_3D) ? 0 : ::GetSystemMetrics(SM_CXHTHUMB);</P><P></P><P>newsize.bottom -= Height;</P><P>Trace(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>false</FONT></FONT><FONT size=2>,</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"OnSize cx cy %d %d newsize %d %d"</FONT></FONT><FONT size=2>,cx,cy,newsize.Width(),newsize.Height());</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>if</FONT></FONT><FONT size=2> (IsWin(DwgTabs))</P><P>DwgTabs-&gt;SetWindowPos(NULL, 0,newsize.bottom, newsize.Width(), Height,SWP_SHOWWINDOW | SWP_FRAMECHANGED | SWP_NOZORDER);</P><P>CView::OnSize(nType,newsize.Width(),newsize.Height());</P><DIV>&nbsp;</DIV><DIV>Newsize is correctly updated e.g. it the size of the view, less than the height of the tabs, but the view still thinks that the tabs are not there. Has anybody got any ideas as to what I might be doing wrong.</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>&nbsp;</DIV><DIV>Anton</FONT></DIV></DIV><DIV>&nbsp;</DIV><DIV></FONT><FONT size=2></FONT>&nbsp;</DIV></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 30 Apr 2009 12:19:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14188&amp;PID=48506&amp;title=cxtexceltabctrl-and-cview-client-area#48506</guid>
  </item> 
 </channel>
</rss>