<?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 &#101;vents for CommandBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Mouse &#101;vents for CommandBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 15:31:16 +0000</pubDate>
  <lastBuildDate>Mon, 28 Mar 2005 21:57: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=970</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 &#101;vents for CommandBar : I found a temporary solution to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=5997&amp;title=mouse-events-for-commandbar#5997</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1027">leojay</a><br /><strong>Subject:</strong> 970<br /><strong>Posted:</strong> 28 March 2005 at 9:57pm<br /><br /><P>I found a temporary solution to my problem.&nbsp;</P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; Dim ptMouse As POINTAPI<BR>&nbsp;&nbsp;&nbsp; Dim rt As RECT<BR>&nbsp;&nbsp;&nbsp; rt = GetCommandBarRect<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If GetCapture &lt;&gt; Me.hwnd Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ptMouse = GetCursor<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not (ptMouse.X &lt; rt.Right And ptMouse.X &gt; rt.Left And ptMouse.Y &lt; rt.Bottom And ptMouse.Y &gt; rt.Top) And Me.MousePointer = 9 Then<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Me.MousePointer = 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; End If</FONT></P><P><FONT face="Verdana, Arial, Helvetica, sans-serif">the GetCursor() and GetCommandBarRect() are my functions to get mouse cursor's position and CommandBar's client area, respectively.</FONT></P><P>I hope it will be useful to you.</P>]]>
   </description>
   <pubDate>Mon, 28 Mar 2005 21:57:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=5997&amp;title=mouse-events-for-commandbar#5997</guid>
  </item> 
  <item>
   <title><![CDATA[Mouse &#101;vents for CommandBar : The &amp;#039;ControlSelected&amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=5996&amp;title=mouse-events-for-commandbar#5996</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 970<br /><strong>Posted:</strong> 28 March 2005 at 9:13pm<br /><br /><P>The 'ControlSelected' event is fired when you move the mouse over a control, and the 'ControlSelected' event is fired again when you move off the control (with a null value passed for the selected control).</P><P>There is no standard way to detect right mouse clicks.&nbsp; Not sure if there are any hacks to get around it.</P>]]>
   </description>
   <pubDate>Mon, 28 Mar 2005 21:13:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=5996&amp;title=mouse-events-for-commandbar#5996</guid>
  </item> 
  <item>
   <title><![CDATA[Mouse &#101;vents for CommandBar : I wonder how to handle these mouse...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=5995&amp;title=mouse-events-for-commandbar#5995</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1027">leojay</a><br /><strong>Subject:</strong> 970<br /><strong>Posted:</strong> 28 March 2005 at 8:35pm<br /><br /><P>I wonder how to handle these mouse events too. <IMG src="http://forum.codejock.com/smileys/smiley32.gif" border="0"></P><P>I set the mouse pointer of main form to 9:<BR>Me.MousePointer = 9</P><P>and i want to set the mouse pointer back to default pointer when the user moved the mouse out of the main form.<IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Mon, 28 Mar 2005 20:35:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=5995&amp;title=mouse-events-for-commandbar#5995</guid>
  </item> 
  <item>
   <title><![CDATA[Mouse &#101;vents for CommandBar : How can I get mouse events for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=2561&amp;title=mouse-events-for-commandbar#2561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=647">IAgree</a><br /><strong>Subject:</strong> 970<br /><strong>Posted:</strong> 22 July 2004 at 11:46pm<br /><br />How can I get mouse events for a CommandBars object? <br><br>Currently I have a Sheridan toolbar which responds to standard VBevents such as MouseUp, MouseDown, MouseMove, etc. and need theseevents in CodeJock CommandBars. The reason is users can right-click atoolbar icon which displays a popup menu specific for that icon. Thepopup menu has many options specific to the application I am creating,such as security permissions for the icon.<br><br>So, how can I display my own popup menu when a user right clicks on a CodeJock toolbar icon?<br><br>Thanks.<br>]]>
   </description>
   <pubDate>Thu, 22 Jul 2004 23:46:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=970&amp;PID=2561&amp;title=mouse-events-for-commandbar#2561</guid>
  </item> 
 </channel>
</rss>