<?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] icon in Pane title with VS 2015 themes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [solved] icon in Pane title with VS 2015 themes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 20:37:00 +0000</pubDate>
  <lastBuildDate>Tue, 05 Dec 2017 23:17: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=23504</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] icon in Pane title with VS 2015 themes : Hello Vycheslav,Thank you for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76373&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23504<br /><strong>Posted:</strong> 05 December 2017 at 11:17pm<br /><br /><div>Hello Vycheslav,</div><div><br></div><div>Thank you for information. I have solved this issue. Fix will be available in next release.</div><div>Problem was in drawing order in method CXTPDockingPaneVisualStudio2015Theme::DrawTitleBar<br>The same issue in VS2012 theme (CXTPDockingPaneVisualStudio2012Theme::DrawTitleBar)</div><div><table width="99%"><tr><td><pre class="BBcode">// old version</div><div>void CXTPDockingPaneVisualStudio2015Theme::DrawTitleBar(CDC *pDC, CXTPDockingPaneBase *pPane, CRect rcCaption, BOOL bVertical)</div><div>{</div><div>......</div><div><br></div><div>&nbsp; &nbsp; pDC-&gt;SetTextColor(pColorSet-&gt;m_clrText);</div><div>&nbsp; &nbsp; int nWidth = <font color="#990000"><b>DrawCaptionText</b></font>(pDC, pPane-&gt;GetTitle(), rcCaption, bVertical, TRUE);</div><div><br></div><div>&nbsp; &nbsp; if (NULL == hCustomBrush)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CRect rcGripper(rcCaption);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (bVertical)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.top += nWidth + XTP_DPI_Y(5);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.left += ((rcCaption.Width() - XTP_DPI_X(5)) / 2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.top += ((rcCaption.Height() - XTP_DPI_Y(5)) / 2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.left += nWidth + XTP_DPI_X(5);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <b><font color="#990000">DrawGripper</font></b>(pDC, rcGripper, pColorSet-&gt;m_clrGripper, bVertical);</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; <b><font color="#990000">DrawCaptionIcon</font></b>(pDC, pPane, rcCaption, bVertical);</div><div>&nbsp; &nbsp; <b><font color="#990000">DrawCaptionButtons</font></b>(pDC, pPane-&gt;GetCaptionButtons(), rcCaption, pColorSet-&gt;m_clrText, XTP_DPI_X(16), 0, bVertical);</div><div>}</div><div><br></div><div>// fixed version</div><div>void CXTPDockingPaneVisualStudio2015Theme::DrawTitleBar(CDC *pDC, CXTPDockingPaneBase *pPane, CRect rcCaption, BOOL bVertical)</div><div>{</div><div>......</div><div><br></div><div>&nbsp; &nbsp; <b><font color="#00cc00">DrawCaptionIcon</font></b>(pDC, pPane, rcCaption, bVertical);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; pDC-&gt;SetTextColor(pColorSet-&gt;m_clrText);</div><div>&nbsp; &nbsp; int nWidth = <b><font color="#00cc00">DrawCaptionText</font></b>(pDC, pPane-&gt;GetTitle(), rcCaption, bVertical, TRUE);</div><div><br></div><div>&nbsp; &nbsp; <b><font color="#00cc00">DrawCaptionButtons</font></b>(pDC, pPane-&gt;GetCaptionButtons(), rcCaption, pColorSet-&gt;m_clrText, XTP_DPI_X(16), 0, bVertical);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (NULL == hCustomBrush)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CRect rcGripper(rcCaption);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (bVertical)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.top += nWidth + XTP_DPI_Y(5);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.left += ((rcCaption.Width() - XTP_DPI_X(5)) / 2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.top += ((rcCaption.Height() - XTP_DPI_Y(5)) / 2);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rcGripper.left += nWidth + XTP_DPI_X(5);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; <b><font color="#00cc00">DrawGripper</font></b>(pDC, rcGripper, pColorSet-&gt;m_clrGripper, bVertical);</div><div>&nbsp; &nbsp; }</div><div>}</pre></td></tr></table></div><div><br></div><div>Regards,</div><div>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Tue, 05 Dec 2017 23:17:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76373&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76373</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] icon in Pane title with VS 2015 themes : This dialog placed on the floating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76341&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76341</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4333">Vycheslav</a><br /><strong>Subject:</strong> 23504<br /><strong>Posted:</strong> 29 November 2017 at 3:30am<br /><br />This dialog placed on the floating pane (DockingPane Object). See the icon on title bar.  Title text putting under icon with all Visual Studio 2015 themes and putting correcttly with other themes. Property ...Options.ThemedFloatingFrames set to True.]]>
   </description>
   <pubDate>Wed, 29 Nov 2017 03:30:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76341&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76341</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] icon in Pane title with VS 2015 themes : After pulling 18.0.1 we found...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76334&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76334</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 23504<br /><strong>Posted:</strong> 28 November 2017 at 1:41pm<br /><br />After pulling 18.0.1 we found some dialogs we had that used a ribbon had a similar looking bug. The tab region where we had a single tab displayed black in the entire area to the right of the tab. We were calling EnableFrameTheme(FALSE). I change to send in TRUE and it "fixed" the issue. But of course, the entire look of the dialog changed to boot.<br>]]>
   </description>
   <pubDate>Tue, 28 Nov 2017 13:41:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76334&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76334</guid>
  </item> 
  <item>
   <title><![CDATA[[solved] icon in Pane title with VS 2015 themes : AX CodeJock 18.2.0 versions (or...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76324&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4333">Vycheslav</a><br /><strong>Subject:</strong> 23504<br /><strong>Posted:</strong> 27 November 2017 at 5:09am<br /><br />AX CodeJock 18.2.0 versions (or other before) Visual Studio 6 or Visual Studio 2017<br /><br />Pane title with icon (Visual Studio 2015 Light)<br /><img src="uploads/4333/VS2015Light.png" border="0" /><br /><br />Pane title with icon (Microsoft Office 2016 DarkGray)<br /><img src="uploads/4333/MSO2016DarkGray.png" border="0" /><br /><br />This is themes bug or my mistake?]]>
   </description>
   <pubDate>Mon, 27 Nov 2017 05:09:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23504&amp;PID=76324&amp;title=solved-icon-in-pane-title-with-vs-2015-themes#76324</guid>
  </item> 
 </channel>
</rss>