<?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 : Background of CXTPTabCtrl modification needed ...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Background of CXTPTabCtrl modification needed ...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 10:44:17 +0000</pubDate>
  <lastBuildDate>Mon, 23 Mar 2026 15:59:30 +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=24619</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[Background of CXTPTabCtrl modification needed ... : Glad you got it working! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79377&amp;title=background-of-cxtptabctrl-modification-needed#79377</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9498">xsensordev</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 23 March 2026 at 3:59pm<br /><br />Glad you got it working!]]>
   </description>
   <pubDate>Mon, 23 Mar 2026 15:59:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79377&amp;title=background-of-cxtptabctrl-modification-needed#79377</guid>
  </item> 
  <item>
   <title><![CDATA[Background of CXTPTabCtrl modification needed ... : That&amp;#039;s really cool! Thank...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79376&amp;title=background-of-cxtptabctrl-modification-needed#79376</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4296">kiroecke</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 23 March 2026 at 3:52pm<br /><br />That's really cool! Thank you much&nbsp;<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" />&nbsp;<div>I used your information to subclass my own ColorSet as it follows:&nbsp;</div><div><br></div><div><span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span>class CWhiteHeaderColorSet : public CXTPTabColorSetNativeWindows11<div>{</div><div>public:</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>void FillHeader(CDC* pDC, CRect rc, CXTPTabManager* pTabManager) override</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>{</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>pDC-&gt;FillSolidRect(rc, RGB(255, 255, 255));</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>}</div><br>};<span style=": rgb240, 241, 245;"></pre></td></tr></table></span></div><div><span style=": rgb240, 241, 245;"><br></span></div><div><span style=": rgb240, 241, 245;">and then&nbsp;</span></div><div><span style=": rgb240, 241, 245;"><br></span></div><div><span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span>m_pTabCtrl.GetPaintManager()-&gt;SetColorSet(new CWhiteHeaderColorSet());<span style=": rgb240, 241, 245;"></pre></td></tr></table></span></div><div><span style=": rgb240, 241, 245;"><br></span></div><div><span style=": rgb240, 241, 245;">The result is exactly what I wanted.</span></div>]]>
   </description>
   <pubDate>Mon, 23 Mar 2026 15:52:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79376&amp;title=background-of-cxtptabctrl-modification-needed#79376</guid>
  </item> 
  <item>
   <title><![CDATA[Background of CXTPTabCtrl modification needed ... : Just to follow up. Here&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79375&amp;title=background-of-cxtptabctrl-modification-needed#79375</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9498">xsensordev</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 23 March 2026 at 1:15pm<br /><br />Just to follow up.&nbsp; Here's my FillHeader modified to set the background to a "debug" color:<div><img src="uploads/9498/repaint.png" height="113" width="911" border="0" /><br><br>And here's the simple code to do this:<br><img src="uploads/9498/testcode.png" height="199" width="1038" border="0" /><br></div>]]>
   </description>
   <pubDate>Mon, 23 Mar 2026 13:15:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79375&amp;title=background-of-cxtptabctrl-modification-needed#79375</guid>
  </item> 
  <item>
   <title><![CDATA[Background of CXTPTabCtrl modification needed ... : Here&amp;#039;s a visual of that Office2016...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79372&amp;title=background-of-cxtptabctrl-modification-needed#79372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9498">xsensordev</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 19 March 2026 at 12:41pm<br /><br />Here's a visual of that Office2016 tab.<br><br><img src="uploads/9498/TabOffice2016.png" height="104" width="495" border="0" /><br>]]>
   </description>
   <pubDate>Thu, 19 Mar 2026 12:41:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79372&amp;title=background-of-cxtptabctrl-modification-needed#79372</guid>
  </item> 
  <item>
   <title><![CDATA[Background of CXTPTabCtrl modification needed ... : My solution to Toolkit protected...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79371&amp;title=background-of-cxtptabctrl-modification-needed#79371</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9498">xsensordev</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 19 March 2026 at 12:38pm<br /><br />My solution to Toolkit protected code was to realize I didn't need anyone's permission to modify that code directly.<br><br>I modify their code as I need and rebuild the DLL or static lib. I track my changes so that I can reapply them as new Toolkit versions come out.<br><br><div>For example,&nbsp;<span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span>CXTPTabBase::SetTheme<span style=": rgb240, 241, 245;"></pre></td></tr></table></span>&nbsp;does not have support for xtpControlThemeOffice2016. So I rolled my own&nbsp;<span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span>class _XTP_EXT_CLASS CXTPTabBaseThemeOffice2016 : public CXTPTabBaseTheme<span style=": rgb240, 241, 245;"></pre></td></tr></table></span>&nbsp;and put in right in XTPTabBaseTheme and then updated the Toolkit to support that tab theme.</div><div><br></div><div><img src="" border="0" /><br><br></div>]]>
   </description>
   <pubDate>Thu, 19 Mar 2026 12:38:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79371&amp;title=background-of-cxtptabctrl-modification-needed#79371</guid>
  </item> 
  <item>
   <title><![CDATA[Background of CXTPTabCtrl modification needed ... : Hello,thank you so much for your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79370&amp;title=background-of-cxtptabctrl-modification-needed#79370</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4296">kiroecke</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 19 March 2026 at 3:40am<br /><br />Hello,&nbsp;<div><br></div><div>thank you so much for your help. Anyways, the mentioned ::FillHeader() function is protected and can't be invoked by user code.&nbsp;</div><div><br></div><div>And, yes, I'm using v24.3.0 of Toolkit Pro.</div><div><br></div><div>Any further help is highly appreciated!</div><div>Best regards,</div><div>K.</div><div><br></div><div><img src="uploads/4296/SCR-20260319-ibcr.png" height="1192" width="1567" border="0" /><br></div>]]>
   </description>
   <pubDate>Thu, 19 Mar 2026 03:40:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79370&amp;title=background-of-cxtptabctrl-modification-needed#79370</guid>
  </item> 
  <item>
   <title><![CDATA[Background of CXTPTabCtrl modification needed ... : I&amp;#039;m going to assume a somewhat...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79368&amp;title=background-of-cxtptabctrl-modification-needed#79368</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9498">xsensordev</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 18 March 2026 at 4:08pm<br /><br />I'm going to assume a somewhat recent version of the Toolkit, and I'm guessing you're using the base theme for that control.<br><br>Try setting a breakpoint in&nbsp;CXTPTabBaseTheme::FillHeader or any of the other FillHeader functions to see what's happening.<br><br>By the way, that strip you want to fill is not distinguished from the tabs.&nbsp; You'd have to modify the FillHeader function (for whichever theme is being applied) to perform your own painting of the strip.]]>
   </description>
   <pubDate>Wed, 18 Mar 2026 16:08:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79368&amp;title=background-of-cxtptabctrl-modification-needed#79368</guid>
  </item> 
  <item>
   <title><![CDATA[Background of CXTPTabCtrl modification needed ... : Hello,the background behind the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79317&amp;title=background-of-cxtptabctrl-modification-needed#79317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4296">kiroecke</a><br /><strong>Subject:</strong> 24619<br /><strong>Posted:</strong> 14 January 2026 at 5:30am<br /><br />Hello,<div><br></div><div>the background behind the tab-headers in my CXTPTabCtrl remains grey whatever I try. My last check was&nbsp;</div><div><br></div><div>&nbsp;<span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span>auto* pPaintManager = m_pTabCtrl.GetPaintManager(); // exact name may vary by control type<div>if (pPaintManager != nullptr)</div><div>{</div><div>&nbsp; &nbsp;auto* pColorSet = pPaintManager-&gt;GetColorSet();</div><div>&nbsp; &nbsp;if (pColorSet != nullptr)</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pColorSet-&gt;m_clrHeaderFace.clrLight.SetStandardValue(RGB(255, 255, 255));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pColorSet-&gt;m_clrHeaderFace.clrDark.SetStandardValue(RGB(255, 255, 255));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pColorSet-&gt;RefreshMetrics();</div><div>&nbsp; &nbsp;}</div>}<span style=": rgb240, 241, 245;"></pre></td></tr></table></span><br><div><br></div><div>The code was stepped through in the debugging, but the area remained grey.</div><div>Any suggestions are welcome!&nbsp;<span style=": rgb240, 241, 245;"><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="middle" /></span></div><div>Best, Kai</div><div><br></div><div><img src="uploads/4296/SCR-20260114-khfj.png" height="486" width="1780" border="0" align="left" alt="Header background CXTPTabCtrl" title="Header background CXTPTabCtrl" /><br></div></div>]]>
   </description>
   <pubDate>Wed, 14 Jan 2026 05:30:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24619&amp;PID=79317&amp;title=background-of-cxtptabctrl-modification-needed#79317</guid>
  </item> 
 </channel>
</rss>