<?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 : Bug #2 in CXTPTabControl!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug #2 in CXTPTabControl!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 24 Apr 2026 02:13:52 +0000</pubDate>
  <lastBuildDate>Mon, 28 Jul 2008 02:39:27 +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=10000</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[Bug #2 in CXTPTabControl! : Hi,  SetCurSel just call SetSelectedItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38958&amp;title=bug-2-in-cxtptabcontrol#38958</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 28 July 2008 at 2:39am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>SetCurSel just call SetSelectedItem method. Override it instead.</DIV>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 02:39:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38958&amp;title=bug-2-in-cxtptabcontrol#38958</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : At least make CXTPTabManager::SetCurSel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38945&amp;title=bug-2-in-cxtptabcontrol#38945</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 27 July 2008 at 1:13pm<br /><br />At least make <FONT color=#040004 size=2>CXTPTabManager::SetCurSel <strong>virtual</strong>, so I can override its behavior...</FONT>]]>
   </description>
   <pubDate>Sun, 27 Jul 2008 13:13:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38945&amp;title=bug-2-in-cxtptabcontrol#38945</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : Hi,I just recalled my original...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38587&amp;title=bug-2-in-cxtptabcontrol#38587</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 20 July 2008 at 4:44am<br /><br />Hi,&nbsp;I just recalled my original problem.<DIV>&nbsp;</DIV><DIV>InsertItem() causes TCN_SELCHANGE to be sent when nItem==0. I can live with the SetCurSel-behavior, but inserting items <strong>must not</strong> differ depending on its item count! This IS a bug.</DIV><DIV>&nbsp;</DIV><DIV>I'd rather not have comments like this in my source code:</DIV><DIV><FONT color=#009900>// HACK: In XTP 12.0.1, InsertItem() automatically selects the first item when the requested index is set to 0.<BR>// We add 1 to avoid this. The value will be corrected, but the TCN_SELCHANGED notification will not be sent!</FONT></DIV><DIV>int index = m_wndTab.GetItemCount() + 1;<BR>m_wndTab.InsertItem(index, "Test");</DIV>]]>
   </description>
   <pubDate>Sun, 20 Jul 2008 04:44:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38587&amp;title=bug-2-in-cxtptabcontrol#38587</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : Hi,  There will be only one...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38549&amp;title=bug-2-in-cxtptabcontrol#38549</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 18 July 2008 at 4:45am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>There will be only one recur call because SetSelectedItem has if (m_pSelected == pItem)&nbsp;&nbsp;return.</DIV><DIV>&nbsp;</DIV><DIV>You can override SetSelectedItem and don't call base method if you don't need change selection.</DIV>]]>
   </description>
   <pubDate>Fri, 18 Jul 2008 04:45:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38549&amp;title=bug-2-in-cxtptabcontrol#38549</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : Ok, so please tell me how to change...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38546&amp;title=bug-2-in-cxtptabcontrol#38546</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 18 July 2008 at 3:38am<br /><br />Ok, so please tell me how to change the current selection without getting TCN_SELCHANGE.<DIV>&nbsp;</DIV><DIV>Like I said, no API cause notification messages to be sent. It's really crazy to violate that principle.&nbsp;Consider this:</DIV><DIV>&nbsp;</DIV><DIV>OnSelChanged(...)</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp; SetCurSel(x); // Let's recur infinitely!</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>Notification message = the user did something that you could not predict.</DIV>]]>
   </description>
   <pubDate>Fri, 18 Jul 2008 03:38:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38546&amp;title=bug-2-in-cxtptabcontrol#38546</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : Hi, Its not bug. CXTPTabControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38538&amp;title=bug-2-in-cxtptabcontrol#38538</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 18 July 2008 at 2:31am<br /><br /><P>Hi,</P><DIV>Its not bug. CXTPTabControl is not CTabCtrl and not derived from it.</DIV>]]>
   </description>
   <pubDate>Fri, 18 Jul 2008 02:31:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38538&amp;title=bug-2-in-cxtptabcontrol#38538</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : Oleg, please change this in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38527&amp;title=bug-2-in-cxtptabcontrol#38527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 17 July 2008 at 7:13pm<br /><br />Oleg, please change this in the next release! This bug is causing big problems!]]>
   </description>
   <pubDate>Thu, 17 Jul 2008 19:13:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=38527&amp;title=bug-2-in-cxtptabcontrol#38527</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : This has not been fixed in v12.0!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=35069&amp;title=bug-2-in-cxtptabcontrol#35069</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 10 May 2008 at 4:56pm<br /><br />This has not been fixed in v12.0!]]>
   </description>
   <pubDate>Sat, 10 May 2008 16:56:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=35069&amp;title=bug-2-in-cxtptabcontrol#35069</guid>
  </item> 
  <item>
   <title><![CDATA[Bug #2 in CXTPTabControl! : A small bug, but quite critical...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=32803&amp;title=bug-2-in-cxtptabcontrol#32803</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10000<br /><strong>Posted:</strong> 29 March 2008 at 4:33pm<br /><br /><DIV>A small bug, but quite critical if you ask me.</DIV><DIV>&nbsp;</DIV><DIV>m_wndTab.SetCurSel(0); // This causes TCN_SELCHANGE to be sent.</DIV><DIV>&nbsp;</DIV><DIV>From MSDN:</DIV><DIV>"A tab control does not send a TCN_SELCHANGING or TCN_SELCHANGE notification message when a tab is selected using this function."</DIV><DIV>&nbsp;</DIV><DIV>Makes sense to follow that principle. The same goes for all your other controls too.</DIV><DIV>&nbsp;</DIV><DIV>Can you please fix this in v12?</DIV>]]>
   </description>
   <pubDate>Sat, 29 Mar 2008 16:33:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10000&amp;PID=32803&amp;title=bug-2-in-cxtptabcontrol#32803</guid>
  </item> 
 </channel>
</rss>