<?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 : OnNavigateButtonClick: what message?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : OnNavigateButtonClick: what message?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 19:09:43 +0000</pubDate>
  <lastBuildDate>Thu, 16 Feb 2023 13:33:39 +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=24361</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[OnNavigateButtonClick: what message? : Hello,with CXTPTabControl I learned...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24361&amp;PID=78616&amp;title=onnavigatebuttonclick-what-message#78616</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4296">kiroecke</a><br /><strong>Subject:</strong> 24361<br /><strong>Posted:</strong> 16 February 2023 at 1:33pm<br /><br />Hello,<div><br><div>with CXTPTabControl I learned in this forum that I have to override "OnNavigateButtonClick" for the left and right navigation buttons of my tab control for catching the related clicks:</div></div><div><span style=": rgb240, 241, 245;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div><div>void CTabControlEx::OnNavigateButtonClick(CXTPTabManagerNavigateButton* pButton)</div><div>{</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>CXTPTabControl::OnNavigateButtonClick(pButton);</div><div><br></div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>CXTPTabManagerItem* pItem = pButton-&gt;GetItem() ? pButton-&gt;GetItem() : m_pSelected;</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>if (pItem &amp;&amp; (pButton-&gt;GetID() == xtpTabNavigateButtonLeft))</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>{</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>// DeleteItem(pItem-&gt;GetIndex());</div><div><span ="apple-tab-span"="" style="white-space:pre">		</span>// Add code here.</div><div><span ="apple-tab-span"="" style="white-space:pre">	</span>}</div><div>}</div></div><div><span style=": rgb240, 241, 245;"></pre></td></tr></table></span></div><div>This compiles without problems. Anyway, it is NOT called if I click on the left or right navigator button. I suppose that I should make an entry to the message map? If yes, what are the exact macros that I need there? I couldn't find any information in the documentation or the posts in this forum.</div><div><br></div><div>Thank you in advance!</div><div>Kai &nbsp;</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 16 Feb 2023 13:33:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24361&amp;PID=78616&amp;title=onnavigatebuttonclick-what-message#78616</guid>
  </item> 
 </channel>
</rss>