<?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 : [Solved] m_bDrawSingleTab</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [Solved] m_bDrawSingleTab]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 08:18:42 +0000</pubDate>
  <lastBuildDate>Wed, 13 Oct 2010 13:31:03 +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=17424</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[[Solved] m_bDrawSingleTab : You create 2 panes with same id...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17424&amp;PID=60875&amp;title=solved-m-bdrawsingletab#60875</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17424<br /><strong>Posted:</strong> 13 October 2010 at 1:31pm<br /><br />You create 2 panes with same id and trying attach grid to both of them...]]>
   </description>
   <pubDate>Wed, 13 Oct 2010 13:31:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17424&amp;PID=60875&amp;title=solved-m-bdrawsingletab#60875</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] m_bDrawSingleTab :  I&amp;#039;ve modified the MDIPanes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17424&amp;PID=60870&amp;title=solved-m-bdrawsingletab#60870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 17424<br /><strong>Posted:</strong> 13 October 2010 at 1:12pm<br /><br />I've modified the MDIPanes sample as followed:<br><br><i>&nbsp;&nbsp;&nbsp; // Create docking panes.<br>&nbsp;&nbsp;&nbsp; CXTPDockingPane *pPane1 = m_paneManager.CreatePane(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IDR_PANE_PROPERTIES, CRect(0, 0,210, 120), xtpPaneDockLeft);<br>&nbsp;&nbsp; pPane1-&gt;SetOptions(xtpPaneNoCaption | xtpPaneNoFloatable);<br><br>&nbsp;&nbsp;&nbsp; CXTPDockingPane *pPane2 = m_paneManager.CreatePane(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IDR_PANE_PROPERTIES, CRect(0, 0,210, 120), xtpPaneDockLeft);<br>&nbsp;&nbsp; pPane2-&gt;SetOptions(xtpPaneNoCaption | xtpPaneNoFloatable);<br><br>&nbsp;&nbsp; int nID = IDR_PANE_PROPERTIES;<br>&nbsp;&nbsp;&nbsp; m_paneManager.SetIcons(IDB_BITMAP_ICONS, &amp;nID, 1);<br><br>&nbsp;&nbsp;&nbsp; m_paneManager.SetTheme(m_themeCurrent);<br><br>&nbsp;&nbsp; m_paneManager.AttachPane(pPane1, pPane2);<br><br>&nbsp;&nbsp; m_paneManager.HideClient(TRUE);<br>&nbsp;&nbsp; CXTPDockingPanePaintManager *pManager = m_paneManager.GetPaintManager();<br>&nbsp;&nbsp; pManager-&gt;m_bDrawSingleTab = TRUE;<br>&nbsp;&nbsp; pManager-&gt;GetTabPaintManager()-&gt;SetPosition(xtpTabPositionBottom);<br></i><br>If you start the app it will look like this:<br><img src="uploads/1755/mdidockbottom.png" height="424" width="766" border="0" /><br><br>You can now split it vertically:<br><br><img src="uploads/1755/mdidocktopbottom.png" height="423" width="764" border="0" /><br><br>But if you dock the pane on the left and then on the top, the tab is gone!!!<br><br><img src="uploads/1755/mdidockleft.png" height="428" width="762" border="0" /><br><br><img src="uploads/1755/mdidocktop.png" height="431" width="774" border="0" /><br><br><br><br><br><br>]]>
   </description>
   <pubDate>Wed, 13 Oct 2010 13:12:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17424&amp;PID=60870&amp;title=solved-m-bdrawsingletab#60870</guid>
  </item> 
 </channel>
</rss>