<?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 : CXTPTabClientWnd Client Margin Color</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTabClientWnd Client Margin Color]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 16 May 2026 19:21:43 +0000</pubDate>
  <lastBuildDate>Sun, 30 Dec 2018 10:29:38 +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=23432</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[CXTPTabClientWnd Client Margin Color : and in 18.6 as well, how to get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=77198&amp;title=cxtptabclientwnd-client-margin-color#77198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9291">adamg</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 30 December 2018 at 10:29am<br /><br /><div>and in 18.6 as well, how to get gap free MDI Tabs?</div><div><br></div><div>Adam<br></div>]]>
   </description>
   <pubDate>Sun, 30 Dec 2018 10:29:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=77198&amp;title=cxtptabclientwnd-client-margin-color#77198</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : Still a problem in v18.2.0.-cpede...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76307&amp;title=cxtptabclientwnd-client-margin-color#76307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 22 November 2017 at 3:39am<br /><br />Still a problem in v18.2.0.<div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Wed, 22 Nov 2017 03:39:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76307&amp;title=cxtptabclientwnd-client-margin-color#76307</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : Any comments from CJ?-cpede ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76145&amp;title=cxtptabclientwnd-client-margin-color#76145</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 18 September 2017 at 2:29am<br /><br /><span style=": rgb248, 248, 252;">Any comments from CJ?</span><div><span style=": rgb248, 248, 252;"><br></span></div><div><span style=": rgb248, 248, 252;">-cpede</span></div>]]>
   </description>
   <pubDate>Mon, 18 Sep 2017 02:29:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76145&amp;title=cxtptabclientwnd-client-margin-color#76145</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : OK, this seems to work when them_clientFrame...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76131&amp;title=cxtptabclientwnd-client-margin-color#76131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 06 September 2017 at 10:10am<br /><br />OK, this seems to work when the&nbsp;m_clientFrame is not&nbsp;xtpTabFrameNone.<div><br></div><div>But I don't want the border, so what if the following is set?</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>m_MTIClientWnd.GetPaintManager()-&gt;m_clientFrame = xtpTabFrameNone;</div><div>m_MTIClientWnd.GetPaintManager()-&gt;m_bStaticFrame = FALSE;</div></div><div></pre></td></tr></table></div><div>In this case&nbsp;CXTPTabPaintManagerColorSet::FillClient is never called?</div><div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Wed, 06 Sep 2017 10:10:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76131&amp;title=cxtptabclientwnd-client-margin-color#76131</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : in RibbonMDISample //  Source...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76126&amp;title=cxtptabclientwnd-client-margin-color#76126</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 05 September 2017 at 3:38pm<br /><br /><div>in RibbonMDISample</div><div><img src="uploads/8730/Ribb&#111;nMDISample_2017-09-05_22-18-15.png" height="363" width="632" border="0" /></div><div><table width="99%"><tr><td><pre class="BBcode">// &nbsp; &nbsp;Source\CommandBars\XTPTabClientWnd.cpp</div><div><br></div><div>void CXTPTabClientWnd::CheckCommandBarsTheme()</div><div>{</div><div>.......</div><div>&nbsp; &nbsp; m_pPaintManager-&gt;m_rcClientMargin.SetRect(0, 7, 0, 0); &nbsp; &nbsp;//hardcoded for all cases</div><div>.......</div><div>}</div><div><br></div><div><br></div><div>// &nbsp; &nbsp;Source\TabManager\XTPTabPaintManagerColorSet.cpp</div><div><br></div><div>COLORREF <b>CXTPTabPaintManagerColorSet::FillClient</b>(CDC* pDC, CRect rc, CXTPTabManager* pTabManager)</div><div>{</div><div>&nbsp; &nbsp; CXTPTabManagerItem* pItem = pTabManager-&gt;GetSelectedItem();</div><div><br></div><div>&nbsp; &nbsp; <b><font color="#00cc00">COLORREF clrClient = RGB(0, 255, 255)</font></b>; &nbsp; &nbsp;<font color="#66ffff"><b>//hardcoded light blue color</b></font></div><div>&nbsp; &nbsp; //COLORREF clrClient = pItem ? GetItemColor(pItem) : m_clrButtonSelected;</div><div><br></div><div>&nbsp; &nbsp; pDC-&gt;FillSolidRect(rc, clrClient);</div><div><br></div><div>&nbsp; &nbsp; return clrClient;</div><div>}</div><div><br></div><div><br></div><div>// Office2013Word.ini &nbsp; hardcoded red color for back of TabClient &nbsp;CXTPTabPaintManagerTheme::GetColorSet()-&gt;m_clrTabClientBack</div><div><br></div><div>&#091;TabClient&#093;</div><div>Back = 255 0 0</pre></td></tr></table><br><br></div>]]>
   </description>
   <pubDate>Tue, 05 Sep 2017 15:38:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76126&amp;title=cxtptabclientwnd-client-margin-color#76126</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : Hi,Sorry not being totally clear...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76125&amp;title=cxtptabclientwnd-client-margin-color#76125</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 05 September 2017 at 11:09am<br /><br />Hi,<div><br></div><div>Sorry not being totally clear here.</div><div><br></div><div>The color I'm looking to change is the color appearing when you set a margin to the CXTPTabClientWnd using:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>CXTPTabClientWnd m_MTIClientWnd;</div><div>m_MTIClientWnd.GetPaintManager()-&gt;m_rcClientMargin.SetRect(0,7,0,0);</div><div></pre></td></tr></table></div><div><br></div><div>In this example the white'ish RGB(240, 240, 240) in all themes under the tab:</div><div><br></div><div><img src="uploads/686/XTPToolkit_18.0.1_MDIClient_Margin_Color.png" height="260" width="354" border="0" /><br></div><div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Tue, 05 Sep 2017 11:09:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76125&amp;title=cxtptabclientwnd-client-margin-color#76125</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : Hello cpede,This color is defined...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76124&amp;title=cxtptabclientwnd-client-margin-color#76124</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 05 September 2017 at 9:17am<br /><br />Hello cpede,<br><br>This color is defined in method <b>GetItemColor</b>() (for Office2013 &nbsp;it is&nbsp;CXTPTabColorSetVisualStudio2012::GetItemColor()) &nbsp; it is taken from&nbsp;CXTPTabPaintManagerColorSet::m_clrButtonSelected.<br><br>If you need other color than tab background then you can redefine or change method&nbsp;<b>CXTPTabPaintManagerColorSet::FillClient()<br></b><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Tue, 05 Sep 2017 09:17:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76124&amp;title=cxtptabclientwnd-client-margin-color#76124</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : Any comments from CJ?-cpede ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76119&amp;title=cxtptabclientwnd-client-margin-color#76119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 04 September 2017 at 2:00am<br /><br />Any comments from CJ?<div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Mon, 04 Sep 2017 02:00:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76119&amp;title=cxtptabclientwnd-client-margin-color#76119</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd Client Margin Color : When specifying a client margin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76101&amp;title=cxtptabclientwnd-client-margin-color#76101</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 23432<br /><strong>Posted:</strong> 30 August 2017 at 6:01am<br /><br />When specifying a client margin using<div><table width="99%"><tr><td><pre class="BBcode">m_MTIClientWnd.GetPaintManager()-&gt;m_rcClientMargin</pre></td></tr></table></div><div>How do I control the color of the margin in the Office theme?</div><div><br></div><div>-cpede</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 30 Aug 2017 06:01:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23432&amp;PID=76101&amp;title=cxtptabclientwnd-client-margin-color#76101</guid>
  </item> 
 </channel>
</rss>