<?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 : Additi&#111;nal butt&#111;n in DockingPane titlebar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Additi&#111;nal butt&#111;n in DockingPane titlebar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 00:33:31 +0000</pubDate>
  <lastBuildDate>Mon, 24 Sep 2012 08:16:04 +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=258</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[Additi&#111;nal butt&#111;n in DockingPane titlebar : Please I want add a button near...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=258&amp;PID=68951&amp;title=additional-button-in-dockingpane-titlebar#68951</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7652">ferduva</a><br /><strong>Subject:</strong> 258<br /><strong>Posted:</strong> 24 September 2012 at 8:16am<br /><br />Please I want add a button near the &#091;x&#093; button into not client area. Can yuo give me an example?<div>Thanks</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 24 Sep 2012 08:16:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=258&amp;PID=68951&amp;title=additional-button-in-dockingpane-titlebar#68951</guid>
  </item> 
  <item>
   <title><![CDATA[Additi&#111;nal butt&#111;n in DockingPane titlebar : I&amp;#039;d like to add an additional...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=258&amp;PID=594&amp;title=additional-button-in-dockingpane-titlebar#594</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=248">David</a><br /><strong>Subject:</strong> 258<br /><strong>Posted:</strong> 02 December 2003 at 4:35am<br /><br /><P>I'd like to add an additional button to the titlebar of an XTPDockingPane. Which is the best way to do this?</P><P>---</P><P>UPDATE: In the meantime I implemented additional caption buttons without touching the codejock sources, but during testing I encountered several difficulties due to a lack of events and context information. For example there is no way to determine the number of panes in a CXTPDockingPaneSplitterContainer. I need this to determine, which parent window of the CXTPDockingPane I have to subclass(GetChild()-&gt;GetParent() or GetChild()-&gt;GetParent-&gt;GetParent()) to show the extra buttons in the correct location: either in the caption (non-client area) of the hosting floating window or in the caption of the docking pane (client area). Every CXTPDockingPane seems to be hosted by a CXTPDockingPaneTabbedContainer and one or more CXTPDockingPaneSplitterContainers, some of which can be empty. There doesn't seem to be an easy way to determine, in which window the caption is drawn.</P><P>All I'd need would be a simple thing like a GetPanes() method in CXTPDockingPaneSplitterContainer as exists in CXTPDockingPaneTabbedContainer. Btw. shouldn't both classes inherit from a common parent class CXTPDockingPaneContainer?</P><P>Now I am looking into further ways to determine, where to draw the caption buttons. Any hint would be very appreciated.</P><P>---</P><P>Another UPDATE: I found a very simple solution: I can simply ask the CXTPDockingPaneTabbedContainer, if IsTitleVisible(), which is exactly, what I want to know. Sometimes, it's easier than you think. Now I have my buttons working in any dock, undock, floating and whatever situation. =)</P><span style="font-size:10px"><br /><br />Edited by David</span>]]>
   </description>
   <pubDate>Tue, 02 Dec 2003 04:35:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=258&amp;PID=594&amp;title=additional-button-in-dockingpane-titlebar#594</guid>
  </item> 
 </channel>
</rss>