<?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 : How to capture click event of ribbon tab</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : How to capture click event of ribbon tab]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 01:06:32 +0000</pubDate>
  <lastBuildDate>Wed, 30 Jul 2008 03:12:15 +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=10887</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[How to capture click event of ribbon tab : Did you try WM_NCLBUTTONDOWN and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=39142&amp;title=how-to-capture-click-event-of-ribbon-tab#39142</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10887<br /><strong>Posted:</strong> 30 July 2008 at 3:12am<br /><br />Did you try WM_<strong>NC</strong>LBUTTONDOWN and WM_<strong>NC</strong>LBUTTONDBLCLK?]]>
   </description>
   <pubDate>Wed, 30 Jul 2008 03:12:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=39142&amp;title=how-to-capture-click-event-of-ribbon-tab#39142</guid>
  </item> 
  <item>
   <title><![CDATA[How to capture click event of ribbon tab : Hi, can you please solve my above...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36296&amp;title=how-to-capture-click-event-of-ribbon-tab#36296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4156">raghmod81</a><br /><strong>Subject:</strong> 10887<br /><strong>Posted:</strong> 05 June 2008 at 4:31am<br /><br />Hi,<DIV>can you please solve my above mentioned problem</DIV>]]>
   </description>
   <pubDate>Thu, 05 Jun 2008 04:31:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36296&amp;title=how-to-capture-click-event-of-ribbon-tab#36296</guid>
  </item> 
  <item>
   <title><![CDATA[How to capture click event of ribbon tab : Hi,  I&amp;#039;ve created my own...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36234&amp;title=how-to-capture-click-event-of-ribbon-tab#36234</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4156">raghmod81</a><br /><strong>Subject:</strong> 10887<br /><strong>Posted:</strong> 04 June 2008 at 1:35am<br /><br />Hi, <DIV>I've created my own class which is inherited from CXTPRibbonBar class</DIV><DIV>and created its object as :</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><P>class</FONT><FONT size=2> CMyXTPRibbonBar : </FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> CXTPRibbonBar{</P><P></P></FONT><FONT color=#0000ff size=2><P>public</FONT><FONT size=2>:</P><P>DECLARE_DYNCREATE (CMyXTPRibbonBar)</P><P>CMyXTPRibbonBar();</P><P></FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> myfunc();</P></FONT><FONT color=#0000ff size=2><P>protected</FONT><FONT size=2>:</P><P>afx_msg </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnLButtonDown(UINT nFlags, CPoint point);</P><P>afx_msg </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnLButtonDblClk(UINT nFlags, CPoint point);</P><P>DECLARE_MESSAGE_MAP()</P><P>};</P><DIV>in cpp file added code :</DIV><DIV><FONT size=2><P>BEGIN_MESSAGE_MAP(CMyXTPRibbonBar, CXTPRibbonBar)</P><P>ON_WM_LBUTTONDOWN()</P><P>ON_WM_LBUTTONDBLCLK()</P><P>END_MESSAGE_MAP()</P><DIV>and object created as follows:</FONT></FONT><FONT size=2></FONT></DIV><DIV><FONT size=2>m_pRibbonBar = (CMyXTPRibbonBar*)pCommandBars-&gt;Add(_T(</FONT><FONT color=#a31515 size=2>"The Ribbon"</FONT><FONT size=2>), xtpBarTop, RUNTIME_CLASS(CMyXTPRibbonBar));</DIV></DIV></DIV><DIV></DIV><P>&nbsp;</P><P>I've implemented onLButtonDown and onLButtonDblClk in my class. But these functions are not getting called.</FONT></P>]]>
   </description>
   <pubDate>Wed, 04 Jun 2008 01:35:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36234&amp;title=how-to-capture-click-event-of-ribbon-tab#36234</guid>
  </item> 
  <item>
   <title><![CDATA[How to capture click event of ribbon tab : Hi,  You can override CXTPRibbonBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36198&amp;title=how-to-capture-click-event-of-ribbon-tab#36198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10887<br /><strong>Posted:</strong> 03 June 2008 at 9:17am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You can override CXTPRibbonBar and catch WM_LBUTTONDOWN.</DIV>]]>
   </description>
   <pubDate>Tue, 03 Jun 2008 09:17:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36198&amp;title=how-to-capture-click-event-of-ribbon-tab#36198</guid>
  </item> 
  <item>
   <title><![CDATA[How to capture click event of ribbon tab : I have tabs on ribbon bar. I want...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36192&amp;title=how-to-capture-click-event-of-ribbon-tab#36192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4156">raghmod81</a><br /><strong>Subject:</strong> 10887<br /><strong>Posted:</strong> 03 June 2008 at 7:08am<br /><br />I have tabs on ribbon bar. I want capture the click or double click event of this tab. How to do that? In ribbon sample I&nbsp;found only tab change event.]]>
   </description>
   <pubDate>Tue, 03 Jun 2008 07:08:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10887&amp;PID=36192&amp;title=how-to-capture-click-event-of-ribbon-tab#36192</guid>
  </item> 
 </channel>
</rss>