<?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 : CXTPTabC&#111;ntrol</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTabC&#111;ntrol]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 21:42:02 +0000</pubDate>
  <lastBuildDate>Tue, 13 Sep 2005 12:58:33 +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=2879</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[CXTPTabC&#111;ntrol : The behavior of the CXTPTabControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2879&amp;PID=8596&amp;title=cxtptabcontrol#8596</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 2879<br /><strong>Posted:</strong> 13 September 2005 at 12:58pm<br /><br />The behavior of the CXTPTabControl OnNotify callback is really bizarre.&nbsp; The developer really needs to implement a OnNotify callback and monitor when the TCN_SELCHANGE is being sent.&nbsp; It defies any logic I have seen, including sending TCN_SELCHANGE notifications when tabs are being inserted and when a SetCurSel is issued.]]>
   </description>
   <pubDate>Tue, 13 Sep 2005 12:58:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2879&amp;PID=8596&amp;title=cxtptabcontrol#8596</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabC&#111;ntrol : The OnNotify callback for CXTPTabControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2879&amp;PID=8589&amp;title=cxtptabcontrol#8589</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=537">Kenneth</a><br /><strong>Subject:</strong> 2879<br /><strong>Posted:</strong> 12 September 2005 at 3:35pm<br /><br /><P>The OnNotify callback for CXTPTabControl appears to have a major problem, or at least it is&nbsp;working completely different then the&nbsp;OnNotify callback for the CXTFlatTabCtrl and CXTTabCtrl.</P><P>When processing the TCN_SELCHANGE notification, if you issue a SetCurSel(value), where value is not the same as the CurSel value received in the OnNotify,&nbsp;you receive another immediate OnNotify notification.&nbsp;&nbsp; This goes into a infinite loop!&nbsp; This does not happen in the CXTTabCtrl and CXTFlatTabCtrl.</P><P>If I select the following for the color scheme, the luna color for blue is correct, but not for olive and silver.</P><P>m_TabCtrl.GetPaintManager()-&gt;SetAppearance(xtpTabAppearan ceVisualStudio2005);<BR>&nbsp;m_TabCtrl.GetPaintManager()-&gt;DisableLunaColors(FALS E);<BR>&nbsp;m_TabCtrl.GetPaintManager()-&gt;SetOneNoteColors(TRUE) ;<BR>&nbsp;</P><P>I set the color via the following call:</P><P>void CTabSwitch::SetTheme(int theme,int scheme)<BR>&nbsp;{<BR>&nbsp;if(scheme &gt;= 10 &amp;&amp; scheme &lt;= 12)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(theme == 10)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XTPColorManager()-&gt;SetLunaTheme(xtpSystemThemeBlue);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(theme == 11)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XTPColorManager()-&gt;SetLunaTheme(xtpSystemThemeOlive);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(theme == 12)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XTPColorManager()-&gt;SetLunaTheme(xtpSystemThemeSilver);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_flatTabCtrl.GetPaintManager()-&gt;SetColor(xtpTabColorVisu alStudio);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;else if(scheme == 3)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_TabCtrl.GetPaintManager()-&gt;SetColor(xtpTabColorOffice20 03);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_TabCtrl.GetPaintManager()-&gt;SetColor(xtpTabColorWinXP);<BR>&nbsp;}</P><span style="font-size:10px"><br /><br />Edited by Kenneth</span>]]>
   </description>
   <pubDate>Mon, 12 Sep 2005 15:35:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2879&amp;PID=8589&amp;title=cxtptabcontrol#8589</guid>
  </item> 
 </channel>
</rss>