<?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 : How to make pane caption != tab caption?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : How to make pane caption != tab caption?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 12:25:09 +0000</pubDate>
  <lastBuildDate>Tue, 05 Oct 2010 15:13:41 +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=17271</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[How to make pane caption != tab caption? : My problem is that CXTDockingPane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60711&amp;title=how-to-make-pane-caption-tab-caption#60711</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 17271<br /><strong>Posted:</strong> 05 October 2010 at 3:13pm<br /><br />My problem is that CXTDockingPane code explicitly prevents using a zero-length text caption for the tab (see CXTDockingPane code I posted previously). I tried spoofing it using a derived class but it goes deeper than that. I believe this is something CodeJock needs to change for the upcoming version. What are the reasons to support not allowing an icon-only tab?<DIV>&nbsp;</DIV><DIV>Michael</DIV>]]>
   </description>
   <pubDate>Tue, 05 Oct 2010 15:13:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60711&amp;title=how-to-make-pane-caption-tab-caption#60711</guid>
  </item> 
  <item>
   <title><![CDATA[How to make pane caption != tab caption? : &amp;#034;I&amp;#039;m using ActiveX and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60708&amp;title=how-to-make-pane-caption-tab-caption#60708</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5180">pate</a><br /><strong>Subject:</strong> 17271<br /><strong>Posted:</strong> 05 October 2010 at 3:07pm<br /><br />"I'm using ActiveX and VB and there's a property .TabCaption"<DIV>&nbsp;</DIV><DIV>Thanks Aaron, I was not aware that I could use longer names for the pane caption and short ones for the Tabs.&nbsp; To date, my caption titles have been very short.</DIV><DIV>&nbsp;</DIV><DIV>-Merv</DIV>]]>
   </description>
   <pubDate>Tue, 05 Oct 2010 15:07:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60708&amp;title=how-to-make-pane-caption-tab-caption#60708</guid>
  </item> 
  <item>
   <title><![CDATA[How to make pane caption != tab caption? : Is this something CodeJock plans...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60701&amp;title=how-to-make-pane-caption-tab-caption#60701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 17271<br /><strong>Posted:</strong> 05 October 2010 at 10:30am<br /><br />Is this something CodeJock plans to&nbsp;fix in the next version?<DIV>&nbsp;</DIV><DIV>Michael</DIV>]]>
   </description>
   <pubDate>Tue, 05 Oct 2010 10:30:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60701&amp;title=how-to-make-pane-caption-tab-caption#60701</guid>
  </item> 
  <item>
   <title><![CDATA[How to make pane caption != tab caption? : CodeJock developers:  You need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60651&amp;title=how-to-make-pane-caption-tab-caption#60651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 17271<br /><strong>Posted:</strong> 02 October 2010 at 11:43pm<br /><br />CodeJock developers:<DIV>&nbsp;</DIV><DIV>You need to change this so&nbsp;it allows empty tab caption strings:</DIV><DIV><FONT size=2></DIV><P></P><DIV></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2><FONT color=#000000><table width="99%"><tr><td><pre class="BBcode"></FONT></FONT></FONT></DIV><DIV><FONT size=2>CString CXTPDockingPane::GetTabCaption() </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>const</DIV></FONT></FONT><FONT size=2><P>{</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&nbsp; if</FONT></FONT><FONT size=2> (m_strTabCaption.IsEmpty())</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp; return</FONT></FONT><FONT size=2> m_strTitle;</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>&nbsp; return</FONT></FONT><FONT size=2> m_strTabCaption;</P><P>}</P><DIV></pre></td></tr></table></DIV><DIV><DIV>&nbsp;</DIV><DIV>and&nbsp;also&nbsp;a few other&nbsp;methods that use m_strTabCaption or call GetTabCaption(). At present, (13.4.1) there's no way to have an icon-only tab. I'm setting the caption string to " " as a workaround, but that puts the icon&nbsp;off-center.</DIV><DIV>&nbsp;</DIV></DIV><DIV>Michael</DIV><DIV></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 02 Oct 2010 23:43:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60651&amp;title=how-to-make-pane-caption-tab-caption#60651</guid>
  </item> 
  <item>
   <title><![CDATA[How to make pane caption != tab caption? : Why no reply from Support on this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60649&amp;title=how-to-make-pane-caption-tab-caption#60649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 17271<br /><strong>Posted:</strong> 02 October 2010 at 8:51pm<br /><br />Why no reply from Support on this one? I posted this 2 weeks ago.<DIV>&nbsp;</DIV><DIV>The methods provided simply do not work. After creatng a pane, I use the returned pointer to set&nbsp;the 2 strings. Try this in one of the sample apps:</DIV><DIV><FONT size=2><FONT size=2><P>CXTPDockingPane* pPane = m_paneManager.CreatePane(&nbsp;foo )</P></FONT><DIV></DIV><FONT size=2><P>pPane-&gt;SetTitle(_T(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"A"</FONT></FONT><FONT size=2>));</P><P>pPane-&gt;SetTabCaption(_T(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"BBB"</FONT></FONT><FONT size=2>));</P><P>When I run the App, I see "A" on the tab. I also get "A" for the pane title. What is SetTabCaption() supposed to do?</P><DIV>In reality, I want only an icon on the tab but a text title on the visible pane. It is not working.</FONT><FONT size=2></DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Sat, 02 Oct 2010 20:51:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60649&amp;title=how-to-make-pane-caption-tab-caption#60649</guid>
  </item> 
  <item>
   <title><![CDATA[How to make pane caption != tab caption? : Hi,  I&amp;#039;m using ActiveX...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60282&amp;title=how-to-make-pane-caption-tab-caption#60282</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17271<br /><strong>Posted:</strong> 18 September 2010 at 7:02am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I'm using ActiveX and VB and there's a property .TabCaption</DIV><DIV>&nbsp;</DIV><DIV>So there's a difference between .Title (caption bar) and .TabCaption (when docked&nbsp;in container&nbsp;shown as tabs)&nbsp;maybe you have something simular with MFC...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 07:02:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60282&amp;title=how-to-make-pane-caption-tab-caption#60282</guid>
  </item> 
  <item>
   <title><![CDATA[How to make pane caption != tab caption? : I would like to have acaption...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60272&amp;title=how-to-make-pane-caption-tab-caption#60272</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2349">MichaelN</a><br /><strong>Subject:</strong> 17271<br /><strong>Posted:</strong> 17 September 2010 at 9:06pm<br /><br />I would like to have a&nbsp;caption in&nbsp;the pane's titlebar but I don't want any text (or not that same text) in the pane's tab. I used pane::SetTitle("mycaption") and it sets both, so then I tried following that with SetTabCaption("") but the tab caption remains "mycaption". Is there a way to do what I want?<DIV>&nbsp;</DIV><DIV>Michael</DIV>]]>
   </description>
   <pubDate>Fri, 17 Sep 2010 21:06:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17271&amp;PID=60272&amp;title=how-to-make-pane-caption-tab-caption#60272</guid>
  </item> 
 </channel>
</rss>