<?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 : [QUESTION] Commandbars Contextmenu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : [QUESTION] Commandbars Contextmenu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 16:28:08 +0000</pubDate>
  <lastBuildDate>Wed, 24 Aug 2011 14:35:09 +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=18861</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[[QUESTION] Commandbars Contextmenu : I see what you need now, but I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66029&amp;title=question-commandbars-contextmenu#66029</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18861<br /><strong>Posted:</strong> 24 August 2011 at 2:35pm<br /><br />I see what you need now, but I haven't had much luck getting the code to work.<br><br>It seems that all of the CommandBar events that could be useful (ControlSelected, TrackingModeChanged) are fired before Execute is fired, which makes things difficult. You could add a Timer control and check if Not (LeftButtonDown Or CommandBar.Visible), then call CommandBar.ClosePopups and reset the icon, but it is an ugly hack IMHO.<br><br>I will try a few more things and get back to you.<br><br>]]>
   </description>
   <pubDate>Wed, 24 Aug 2011 14:35:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66029&amp;title=question-commandbars-contextmenu#66029</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] Commandbars Contextmenu : Hi Jason,  Thanks for reply...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66028&amp;title=question-commandbars-contextmenu#66028</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18861<br /><strong>Posted:</strong> 24 August 2011 at 2:07pm<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>Thanks for reply <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>There seems to be something missing... What does <EM>DismissCommandBar </EM>do ?</DIV><DIV>&nbsp;</DIV><DIV>Maybe I didn't explain properly <img src="http://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" />&nbsp;</DIV><DIV>&nbsp;</DIV><OL><LI>Yellow "led" means normal / starting point</LI><LI>Mousedown on controlbutton 'test' <strong>&gt;</strong> Green 'led'</LI><LI>MouseUp on controlbutton &gt;&nbsp;Yellow 'led' (back to normal)</LI></OL><P>Now comes the tricky part</P><DIV>&nbsp;&nbsp;&nbsp; 4.&nbsp;&nbsp; Same as above 1 + 2</DIV><DIV>&nbsp;&nbsp;&nbsp; 5.&nbsp;&nbsp; MouseUp somewhere else (except on pushed controlbutton) should return to normal (Yellow 'led'</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Hope I explained it properly</DIV><DIV>&nbsp;</DIV><DIV>Thanks again</DIV><DIV>&nbsp;</DIV><DIV></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 24 Aug 2011 14:07:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66028&amp;title=question-commandbars-contextmenu#66028</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] Commandbars Contextmenu : I&amp;#039;ve thought of a different...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66023&amp;title=question-commandbars-contextmenu#66023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18861<br /><strong>Posted:</strong> 24 August 2011 at 1:36pm<br /><br />I've thought of a different approach, but I'm not sure it meets all of your requirements. Does this do what you need?<br><br><a href="uploads/2676/Execute&#079;nMouseHover&#079;nly.zip" target="_blank">uploads/2676/ExecuteOnMouseHoverOnly.zip</a><br><br>]]>
   </description>
   <pubDate>Wed, 24 Aug 2011 13:36:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66023&amp;title=question-commandbars-contextmenu#66023</guid>
  </item> 
  <item>
   <title><![CDATA[[QUESTION] Commandbars Contextmenu : Hi,  Is it possible to close...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66021&amp;title=question-commandbars-contextmenu#66021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18861<br /><strong>Posted:</strong> 24 August 2011 at 12:11pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Is it possible to <strong>close</strong> contextmenu in code? I'm asking this to solve my problem:</DIV><DIV>&nbsp;</DIV><DIV>When holding mouse down on a controlbutton (I'm using ExecuteOnPressInterval option) and moving mouse away from this button and mouse is released over something else besides that button, I would need to close the Contextmenu in code, so user notices he/she doesn't have his/her mouse on the button anymore and current process&nbsp;stops.</DIV><DIV>&nbsp;</DIV><DIV>See attached test project to see what I'm trying to accomplish <a href="http://forum.codejock.com/uploads/3701/TestExcutePress.zip" target="_blank">uploads/3701/TestExcutePress.zip</A></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot in advance</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 24 Aug 2011 12:11:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18861&amp;PID=66021&amp;title=question-commandbars-contextmenu#66021</guid>
  </item> 
 </channel>
</rss>