<?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] Caption Direction</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [solved] Caption Direction]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 09:43:09 +0000</pubDate>
  <lastBuildDate>Wed, 09 Aug 2017 10:05:59 +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=23399</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] Caption Direction : Hello Marcus,Your changes are...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=76015&amp;title=solved-caption-direction#76015</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23399<br /><strong>Posted:</strong> 09 August 2017 at 10:05am<br /><br />Hello Marcus,<br><br>Your changes are accepted.<div><br>The same fix in&nbsp;CXTPDockingPaneVisualStudio2012Theme which also affects on VS2015 theme.<br><br>Regards,<br>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Wed, 09 Aug 2017 10:05:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=76015&amp;title=solved-caption-direction#76015</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Caption Direction : Hello OleksandrI have just tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=76005&amp;title=solved-caption-direction#76005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2024">MGebler</a><br /><strong>Subject:</strong> 23399<br /><strong>Posted:</strong> 08 August 2017 at 7:43am<br /><br />Hello Oleksandr<div><br><div>I have just tried version 18.0.1 and applied your patch. But the result is still wrong.</div><div>You have to recalculate the cation rectangle!</div><div><br></div><div>You can simply reproduce this effect:</div><div><br></div><div>1. Start the pane sample program</div><div>2. Select a office 2013 or 2016 theme</div><div>3. Select the menu entry 'Docking Pane | Captions | Vertical'</div><div><br></div><div>With best regards</div><div>&nbsp;Marcus</div><div><br></div><div><br></div><div><br></div></div>]]>
   </description>
   <pubDate>Tue, 08 Aug 2017 07:43:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=76005&amp;title=solved-caption-direction#76005</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Caption Direction : Hello Marcus,I think problem in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=76001&amp;title=solved-caption-direction#76001</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23399<br /><strong>Posted:</strong> 07 August 2017 at 6:49am<br /><br />Hello Marcus,<br><br>I think problem in hardcoded horizontal caption in&nbsp;<span style="font-family: &quot;Courier New&quot;, Courier, mono; : rgb248, 248, 252;">CXTPDockingPaneOffice2013Theme::DrawCaption&nbsp;</span>and other places&nbsp;<table width="99%"><tr><td><pre class="BBcode"><span style="font-family: &quot;Courier New&quot;, Courier, mono; : rgb248, 248, 252;">DrawTitleBar(pDC, pPane, rcCaption, <b><font color="#ff0000">FALSE</font></b>);</span></pre></td></tr></table><br>try only <table width="99%"><tr><td><pre class="BBcode"><span style="font-family: &quot;Courier New&quot;, Courier, mono; : rgb248, 248, 252;">DrawTitleBar(pDC, pPane, rcCaption,&nbsp;</span><span style="font-family: &quot;Courier New&quot;, Courier, mono; : rgb248, 248, 252;"><b><font color="#00cc00">pPane-&gt;IsCaptionVertical()</font></b></span><span style="font-family: &quot;Courier New&quot;, Courier, mono; : rgb248, 248, 252;">);</span></pre></td></tr></table><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Mon, 07 Aug 2017 06:49:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=76001&amp;title=solved-caption-direction#76001</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Caption Direction : Hello Marcus,We&amp;#039;re not are...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=75997&amp;title=solved-caption-direction#75997</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 23399<br /><strong>Posted:</strong> 05 August 2017 at 10:40pm<br /><br />Hello Marcus,<div><br></div><div>We're not are not able to reproduce this issue neither in 17.3 no in 18.0. Can you please provide more detailed information about your environment, compiler and configuration?</div><div><br></div><div>Regards,</div><div>&nbsp; Alexander</div>]]>
   </description>
   <pubDate>Sat, 05 Aug 2017 22:40:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=75997&amp;title=solved-caption-direction#75997</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Caption Direction : Hello again. I found a solution....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=75969&amp;title=solved-caption-direction#75969</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2024">MGebler</a><br /><strong>Subject:</strong> 23399<br /><strong>Posted:</strong> 30 July 2017 at 9:34am<br /><br />Hello again. I found a solution. Could you please verify the following source code patch.<div><br></div><div><div><font face="Courier New, Courier, mono">void CXTPDockingPaneOffice2013Theme::DrawCaption(CDC *pDC, CXTPDockingPaneTabbedContainer *pPane, CRect rc)</font></div><div><font face="Courier New, Courier, mono">{</font></div><div><font face="Courier New, Courier, mono">#ifdef PATCHED_VERSION</font></div><div><font face="Courier New, Courier, mono">&nbsp; BOOL bVertical = pPane-&gt;IsCaptionVertical();</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; int nTitleHeight = m_nTitleHeight;</font></div><div><font face="Courier New, Courier, mono">&nbsp; CRect rcCaption(rc);</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; if (bVertical)</font></div><div><font face="Courier New, Courier, mono">&nbsp; {</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; rcCaption.DeflateRect(0, 0, rc.Width() - nTitleHeight - XTP_DPI_X(5), 0);</font></div><div><font face="Courier New, Courier, mono">&nbsp; }</font></div><div><font face="Courier New, Courier, mono">&nbsp; else</font></div><div><font face="Courier New, Courier, mono">&nbsp; {</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; rcCaption.DeflateRect(0, 0, 0, rc.Height() - nTitleHeight - XTP_DPI_Y(5));</font></div><div><font face="Courier New, Courier, mono">&nbsp; }</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; DrawTitleBar(pDC, pPane, rcCaption, bVertical );</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">#else</font></div><div><font face="Courier New, Courier, mono">&nbsp; // Caption</font></div><div><font face="Courier New, Courier, mono">&nbsp; CRect rcCaption(rc);</font></div><div><font face="Courier New, Courier, mono">&nbsp; rcCaption.bottom = rcCaption.top + m_nTitleHeight;</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">&nbsp; DrawTitleBar(pDC, pPane, rcCaption, FALSE);</font></div><div><font face="Courier New, Courier, mono">#endif</font></div><div><font face="Courier New, Courier, mono">}</font></div></div><div><br></div><div>I am not quite sure about the correction terms&nbsp;<span style="font-family: &quot;Courier New&quot;, Courier, mono;">XTP_DPI_Y(5)&nbsp;</span>and&nbsp;<span style="font-family: &quot;Courier New&quot;, Courier, mono;">XTP_DPI_X(5).</span></div><div><br></div><div>With best regards</div><div>&nbsp;Marcus</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 30 Jul 2017 09:34:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=75969&amp;title=solved-caption-direction#75969</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] Caption Direction : Vertical orientated captions of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=75968&amp;title=solved-caption-direction#75968</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2024">MGebler</a><br /><strong>Subject:</strong> 23399<br /><strong>Posted:</strong> 30 July 2017 at 4:29am<br /><br /><div>Vertical orientated captions of a docking pane are displayed wrong, if the Office2013 theme is used.</div><div>The caption string and the buttons are still horizontal orientated and therefore clipped by the caption rectangle.</div><div><br></div><div><img src="uploads/2024/Bad.PNG" height="579" width="852" border="0" /><br></div><div><br></div><div><div>This bug still exists in the Office2016 theme of the beta version 18.</div><div>You can reproduce this problem with the 'pane' example of your sample programs.</div></div><div><br></div><div>With best regards</div><div>&nbsp;Marcus</div>]]>
   </description>
   <pubDate>Sun, 30 Jul 2017 04:29:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23399&amp;PID=75968&amp;title=solved-caption-direction#75968</guid>
  </item> 
 </channel>
</rss>