<?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 : Mouse handlers</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Mouse handlers]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 13:51:56 +0000</pubDate>
  <lastBuildDate>Thu, 29 Apr 2010 15:03:16 +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=13028</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[Mouse handlers : Think you are missing:DECLARE_...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=58278&amp;title=mouse-handlers#58278</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 13028<br /><strong>Posted:</strong> 29 April 2010 at 3:03pm<br /><br />Think you are missing:<br><br>DECLARE_XTP_COMMANDBAR(CMojToolBar)<br>IMPLEMENT_XTP_COMMANDBAR(CMojToolBar, CXTPToolBar);<br>]]>
   </description>
   <pubDate>Thu, 29 Apr 2010 15:03:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=58278&amp;title=mouse-handlers#58278</guid>
  </item> 
  <item>
   <title><![CDATA[Mouse handlers : Any update on those mouse overloaded...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=44264&amp;title=mouse-handlers#44264</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13028<br /><strong>Posted:</strong> 07 January 2009 at 2:10pm<br /><br />Any update on those mouse overloaded functions?]]>
   </description>
   <pubDate>Wed, 07 Jan 2009 14:10:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=44264&amp;title=mouse-handlers#44264</guid>
  </item> 
  <item>
   <title><![CDATA[Mouse handlers : In my MyToolBar.h file:class CMojToolBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=44036&amp;title=mouse-handlers#44036</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13028<br /><strong>Posted:</strong> 30 December 2008 at 12:27pm<br /><br />In my MyToolBar.h file:<br><br>class CMojToolBar : public CXTPToolBar<br>{<br>&nbsp;&nbsp;&nbsp; DECLARE_DYNAMIC(CMyToolBar)<br><br>public:<br>&nbsp;&nbsp;&nbsp; CMyToolBar();<br>&nbsp;&nbsp;&nbsp; virtual ~CMyToolBar();<br>protected:<br>&nbsp;&nbsp;&nbsp; DECLARE_MESSAGE_MAP()<br>public:<br>&nbsp;&nbsp;&nbsp; afx_msg void OnLButtonDown(UINT nFlags, CPoint point);<br>&nbsp;&nbsp;&nbsp; afx_msg void OnMouseMove(UINT nFlags, CPoint point);<br>};<br><br>In my MyToolBar.cpp file:<br><br>IMPLEMENT_DYNAMIC(CMyToolBar, CXTPToolBar)<br><br>CMyToolBar::CMyToolBar()<br>{<br>}<br><br>CMyToolBar::~CMyToolBar()<br>{<br>}<br><br>BEGIN_MESSAGE_MAP(CMyToolBar, CXTPToolBar)<br>&nbsp;&nbsp;&nbsp; ON_WM_LBUTTONDOWN()<br>&nbsp;&nbsp;&nbsp; ON_WM_MOUSEMOVE()<br>END_MESSAGE_MAP()<br><br>void CMyToolBar::OnLButtonDown(UINT nFlags, CPoint point)<br>{<br>&nbsp;&nbsp;&nbsp; AfxMessageBox(_T("click")); <br>&nbsp;&nbsp;&nbsp; CXTPToolBar::OnLButtonDown(nFlags, point);<br>}<br><br>void CMyToolBar::OnMouseMove(UINT nFlags, CPoint point) <br>{<br>&nbsp;&nbsp;&nbsp; AfxMessageBox(_T("move"));<br>&nbsp;&nbsp;&nbsp; CXTPToolBar::OnMouseMove(nFlags, point);<br>}<br><br><br>In my MainFrm.cpp file:<br><br>CMojToolBar* ptol=(CMojToolBar*)pCommandBars-&gt;Add(_T("ptol"),xtpBarFloating);<br>&nbsp;&nbsp;&nbsp; ptol-&gt;LoadToolBar(IDR_TOOLBAR);<br>&nbsp;&nbsp;&nbsp; ptol-&gt;SetBarID(55);<br>]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 12:27:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=44036&amp;title=mouse-handlers#44036</guid>
  </item> 
  <item>
   <title><![CDATA[Mouse handlers : Show all code you tried. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=44017&amp;title=mouse-handlers#44017</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13028<br /><strong>Posted:</strong> 30 December 2008 at 12:57am<br /><br />Show all code you tried.]]>
   </description>
   <pubDate>Tue, 30 Dec 2008 00:57:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=44017&amp;title=mouse-handlers#44017</guid>
  </item> 
  <item>
   <title><![CDATA[Mouse handlers : I&amp;#039;ve subclassed your CXTPToolBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=43986&amp;title=mouse-handlers#43986</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3776">gmail</a><br /><strong>Subject:</strong> 13028<br /><strong>Posted:</strong> 29 December 2008 at 8:47am<br /><br />I've subclassed your CXTPToolBar class and I'm trying to override mouse events like ON_WM_LBUTTONDOWN messages but my functions never gets called? I've checked all of your samples but none of them shows something like this (and I haven't found anything on your forum regarding this). Can you explain how can one achieve catching mouse click events (left/right/drag/drop) on CXTPToolBar class?]]>
   </description>
   <pubDate>Mon, 29 Dec 2008 08:47:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13028&amp;PID=43986&amp;title=mouse-handlers#43986</guid>
  </item> 
 </channel>
</rss>