<?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 : Disable a tab item in CXTPTabCtrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Disable a tab item in CXTPTabCtrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 16:25:16 +0000</pubDate>
  <lastBuildDate>Mon, 03 Oct 2011 09:09:53 +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=19007</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[Disable a tab item in CXTPTabCtrl : Hi, I need to disable a tab item...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19007&amp;PID=66480&amp;title=disable-a-tab-item-in-cxtptabctrl#66480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 19007<br /><strong>Posted:</strong> 03 October 2011 at 9:09am<br /><br />Hi,<DIV>I need to disable a tab item (draw it disabled) of CXTPTabCtrl. Previously, on version 13.1, I did it by creating a custom theme (derived from CXTPTabBaseTheme) and override DrawTabText method. The connection between the control and the custom theme was made by "SetTheme" method (which&nbsp;recieved a&nbsp;CXTThemeManagerStyle*&nbsp; , a base class&nbsp;of CXTPTabBaseTheme).</DIV><DIV>Now, I have upgraded to version 15.1.3, and I can not do what I did before. The SetTheme method (of the tab control) does not have a signiture that recieve a CXTPTabBaseTheme* (or its base class).</DIV><DIV>&nbsp;</DIV><DIV>My question is how can I set a custome theme to the tab control (handle the DrawTabText method) in version 15.1.3 ? (or is there a different way to disable a tab item).</DIV><DIV>&nbsp;</DIV><DIV>thanks,</DIV><DIV>Yoav.</DIV>]]>
   </description>
   <pubDate>Mon, 03 Oct 2011 09:09:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19007&amp;PID=66480&amp;title=disable-a-tab-item-in-cxtptabctrl#66480</guid>
  </item> 
 </channel>
</rss>