<?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 : Custom themed CXTPTabView no longer works</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Custom themed CXTPTabView no longer works]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 18:21:39 +0000</pubDate>
  <lastBuildDate>Tue, 07 Feb 2012 21:04:42 +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=19449</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[Custom themed CXTPTabView no longer works : Just to clsoe the loop, we&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19449&amp;PID=67566&amp;title=custom-themed-cxtptabview-no-longer-works#67566</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4544">mojonez</a><br /><strong>Subject:</strong> 19449<br /><strong>Posted:</strong> 07 February 2012 at 9:04pm<br /><br />Just to clsoe the loop, we've worked around this issue by subclassing the CXTPTabView and adding our own theme handler:<div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>class CMJTabView : public CXTPTabView</div><div>{</div><div>public:</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>void SetCustomTheme(CXTPTabBaseTheme* pTheme) { m_pTheme = pTheme; <span ="Apple-tab-span" style="white-space:pre">	</span>RefreshMetrics(); }</div><div>};</div></div><div><br></div><div></pre></td></tr></table></div><div><br></div></div>]]>
   </description>
   <pubDate>Tue, 07 Feb 2012 21:04:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19449&amp;PID=67566&amp;title=custom-themed-cxtptabview-no-longer-works#67566</guid>
  </item> 
  <item>
   <title><![CDATA[Custom themed CXTPTabView no longer works :    We have some 12.x code that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19449&amp;PID=67516&amp;title=custom-themed-cxtptabview-no-longer-works#67516</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4544">mojonez</a><br /><strong>Subject:</strong> 19449<br /><strong>Posted:</strong> 31 January 2012 at 5:46pm<br /><br /><p>We have some 12.x code that subclasses the Tab control theme and works well:</p><div>&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><p>CXTTabView     * mAppSettingsPane;</p><div>&nbsp; ...</div><div>&nbsp; ...</div><div>&nbsp;</div><div>CMJTabBaseTheme * pTabTheme2 = new CMJTabBaseTheme();<br>mAppSettingsPane-&gt;SetTheme(xtThemeOfficeXP);<br>mAppSettingsPane-&gt;SetTheme(pTabTheme2);</div><div>&nbsp;</div><div>where:</div><div>&nbsp;</div><div>class _XTP_EXT_CLASS CMJTabBaseTheme : public CXTPTabBaseThemeOfficeXP<br></div><p></pre></td></tr></table></p></div><div></div><p>After upgrading to 15.2, the code no longer compiles.&nbsp; Looking at the source it appears CXTTabView has been renamed to <font color="#010001" size="2"><font color="#010001" size="2">CXTPTabView, and&nbsp;the </font></font>SetTheme() method no longer can take a pointer to a custom theme.&nbsp; I can't seem to find any example of how to achieve the same thing in 15.x.&nbsp; </p><div>Does anyone know how to fix this?</div><div>&nbsp;</div><div>thx!</div><div>&nbsp;</div><p>&nbsp;</p><div></div>]]>
   </description>
   <pubDate>Tue, 31 Jan 2012 17:46:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19449&amp;PID=67516&amp;title=custom-themed-cxtptabview-no-longer-works#67516</guid>
  </item> 
 </channel>
</rss>