<?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 : &#039;X&#039; on a tab control?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : &#039;X&#039; on a tab control?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 07 Jun 2026 13:10:14 +0000</pubDate>
  <lastBuildDate>Tue, 31 Oct 2006 14:58:41 +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=5385</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[&#039;X&#039; on a tab control? : Hello, Unfortunatelly no notification,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16914&amp;title=x-on-a-tab-control#16914</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5385<br /><strong>Posted:</strong> 31 October 2006 at 2:58pm<br /><br />Hello,<DIV>Unfortunatelly no notification, but virtual method exists:</DIV><DIV>&nbsp;</DIV><DIV>override OnNavigateButtonClick. Default implementation is:</DIV><DIV>&nbsp;</DIV><DIV>void CXTPTabControl::OnNavigateButtonClick(UINT nID)<BR>{<BR>&nbsp;if (m_pSelected &amp;&amp; (nID == xtpTabNavigateButtonClose) &amp;&amp; m_pSelected-&gt;IsClosable())<BR>&nbsp;{<BR>&nbsp;&nbsp;DeleteItem(m_pSelected-&gt;GetIndex());<BR>&nbsp;}<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Tue, 31 Oct 2006 14:58:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16914&amp;title=x-on-a-tab-control#16914</guid>
  </item> 
  <item>
   <title><![CDATA[&#039;X&#039; on a tab control? : Excellent thank you. What event...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16910&amp;title=x-on-a-tab-control#16910</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2461">ContactGT</a><br /><strong>Subject:</strong> 5385<br /><strong>Posted:</strong> 31 October 2006 at 11:05am<br /><br /><P>Excellent thank you. What event do I need to capture to handle pressing of this button? It is not hitting OnClose()</P>]]>
   </description>
   <pubDate>Tue, 31 Oct 2006 11:05:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16910&amp;title=x-on-a-tab-control#16910</guid>
  </item> 
  <item>
   <title><![CDATA[&#039;X&#039; on a tab control? : Hello, try  tc.FindNavigate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16886&amp;title=x-on-a-tab-control#16886</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5385<br /><strong>Posted:</strong> 30 October 2006 at 2:35pm<br /><br /><P>Hello,</P><DIV>try</DIV><DIV>&nbsp;</DIV><DIV>tc.FindNavigateButton(xtpTabNavigateButtonClose)-&gt;SetFlags(xtpTabNavigateButtonAlways);</DIV>]]>
   </description>
   <pubDate>Mon, 30 Oct 2006 14:35:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16886&amp;title=x-on-a-tab-control#16886</guid>
  </item> 
  <item>
   <title><![CDATA[&#039;X&#039; on a tab control? : Is is possible to add a little...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16882&amp;title=x-on-a-tab-control#16882</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2461">ContactGT</a><br /><strong>Subject:</strong> 5385<br /><strong>Posted:</strong> 30 October 2006 at 11:27am<br /><br />Is is possible to add a little 'X' button on the right hand side of a <FONT size=2>CXTPTabControl, so that the user can close the current tab?</FONT> I would like this button to generate an OnClose message, which I already handly (through a right click).]]>
   </description>
   <pubDate>Mon, 30 Oct 2006 11:27:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5385&amp;PID=16882&amp;title=x-on-a-tab-control#16882</guid>
  </item> 
 </channel>
</rss>