<?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 : CommandBar Buttom Speed</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CommandBar Buttom Speed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:00:10 +0000</pubDate>
  <lastBuildDate>Wed, 25 Feb 2004 07:58:22 +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=459</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[CommandBar Buttom Speed : I agree. I wouldn&amp;#039;t have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1159&amp;title=commandbar-buttom-speed#1159</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 25 February 2004 at 7:58am<br /><br /><P>I agree. I wouldn't have a use for the doulbe-click, but I'm sure there are other developers that would. I hope were not pushing Oleg's buttons now...</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 25 Feb 2004 07:58:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1159&amp;title=commandbar-buttom-speed#1159</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : Mark makes a great point. Instead...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1158&amp;title=commandbar-buttom-speed#1158</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 25 February 2004 at 7:53am<br /><br /><P>Mark makes a great point.&nbsp; Instead of treating all double-click events as a click event, they could be handled differently.&nbsp;&nbsp;If the developer didn't want to treat double-click events differently, just set an option&nbsp;telling Command Bars to report a double-click as a click.</P><P>Oleg, I hope this is an alternative implementation you might consider.</P>]]>
   </description>
   <pubDate>Wed, 25 Feb 2004 07:53:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1158&amp;title=commandbar-buttom-speed#1158</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : Having said that, it would be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1156&amp;title=commandbar-buttom-speed#1156</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=208">mark</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 25 February 2004 at 4:48am<br /><br /><P>Having said that, it would be quite useful for CommandBars to recognise a double-click and generate an event. This could be then used, as in Microsoft Word, for two-state buttons to permanently set a mode in the application. For example in Word on the drawing toolbar, if you click the Rectangle button it allows you to draw one rectangle before it switches back into normal text editing mode. However, if you double-click the Rectangle button, Word stays in 'rectangle mode' and allows you to keep adding rectangles until you switch manually to another mode.</P><P>This feature would be quite useful in CommandBars. Maybe it should be&nbsp;optional, set by a Property.</P><P>&nbsp;</P><P>Mark</P>]]>
   </description>
   <pubDate>Wed, 25 Feb 2004 04:48:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1156&amp;title=commandbar-buttom-speed#1156</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : Thank you all. Really CommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1151&amp;title=commandbar-buttom-speed#1151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 24 February 2004 at 2:21pm<br /><br /><P>Thank you all. Really CommandBars was ignored DblClick event. In Next version DblClick event will be used as Click.</P>]]>
   </description>
   <pubDate>Tue, 24 Feb 2004 14:21:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1151&amp;title=commandbar-buttom-speed#1151</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : For me it always seems to call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1134&amp;title=commandbar-buttom-speed#1134</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=208">mark</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 24 February 2004 at 9:59am<br /><br /><P>For me it always seems to call Execute half as many times as it should if I do button clicks as fast as I can. For example if I do 10 very fast clicks I get 5 items in the listbox, if I do 20 clicks I get 10 items. This implies to me that it is the double-click message not being handled properly. CommandBars seems to be interpreting the second click in each pair of clicks as a double click and doing nothing. This also seems to be the case when looking at the messages received by the button when clicked 10 times rapidly. See attached Winspector images - the left image is the CommandBars button and the right the standard button.</P><P>Doesn't quite make sense since the CommandBars button seems to call Execute on a mouse button up rather than a down and there are 10 ups in each case.</P><P>Mark</P><P><A href="http://forum.codejock.com/uploads/mark/Mouse_Clicks.zip" target="_blank">Mouse_Clicks.zip</A></P>]]>
   </description>
   <pubDate>Tue, 24 Feb 2004 09:59:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1134&amp;title=commandbar-buttom-speed#1134</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : Robs, you could be on to something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1128&amp;title=commandbar-buttom-speed#1128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 23 February 2004 at 9:53pm<br /><br />Robs, you could be on to something there.&nbsp; When clicking rapidlyit could be missing some clicks because it interprets them as adouble-click.&nbsp; But that still doesn't account for buttons takingup to a second to be used again.&nbsp; Who knows, maybe the buttonsstatus is not getting updated and is still thinking the mouse ispressed down.<br><br>I think I'm finished with this one too.&nbsp; Hopefully Oleg can reproduce the problem and fix it if there is a problem.<br>]]>
   </description>
   <pubDate>Mon, 23 Feb 2004 21:53:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1128&amp;title=commandbar-buttom-speed#1128</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : Sorry for stretching this out...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1123&amp;title=commandbar-buttom-speed#1123</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 23 February 2004 at 6:57pm<br /><br /><P>Sorry for stretching this out for so long. Just to make another observation about this. I modified Boyd's Form_Load to this:</P><P>&nbsp;CommandBars.Item(1).Visible = False<BR>&nbsp;&nbsp;&nbsp; With CommandBars.Add("Standard", xtpBarTop)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Controls.Add xtpControlButton, ID_TEST, "Click Me Rapidly", -1, False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Controls.Add xtpControlButton, ID_TEST + 1, "Me Too", -1, False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; End With</P><P>And noticed that if you click rapidly between 2 different buttons, this problem doesn't occur (at least for me). Which leads me to believe that when this problem occurs on one single button, the commandBars is treating rapid clicks as 'double clicks' instead of rapid clicks, which it's not set up to handle?</P><P>I'll be done now!</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 23 Feb 2004 18:57:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1123&amp;title=commandbar-buttom-speed#1123</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : SuperMario: Thanks for double...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1122&amp;title=commandbar-buttom-speed#1122</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 23 February 2004 at 6:45pm<br /><br /><P>SuperMario: Thanks for double checking. I don't think it's a matter of 'the process finishing', but that's a good theory. I think if that was the case then the 'Execute' events that are missing would be on the call stack and would eventualy be fired. </P><P>Oleg: Mixing your sample above and Boyd's..</P><P>Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)<BR>&nbsp;&nbsp;&nbsp; Select Case Control.Id</P><P>...<BR>&nbsp;&nbsp;&nbsp;&nbsp; Case ID_FILE_SAVE:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P><P>&nbsp;&nbsp;&nbsp; Static iClick As Integer<BR>&nbsp;&nbsp;&nbsp; iClick = iClick + 1<BR>&nbsp;&nbsp;&nbsp; Me.Caption = iClick</P><P>The caption only updates (roughly) every other click for me. Not alot of code to execute. I'd be curious to know if others are experiencing the same problem.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 23 Feb 2004 18:45:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1122&amp;title=commandbar-buttom-speed#1122</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed :  I finally figured out what you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1119&amp;title=commandbar-buttom-speed#1119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 23 February 2004 at 2:44pm<br /><br />I finally figured out what you are talking about.&nbsp; Yes, dependingon what the button does it can take longer than a second to finish,none of the standard control do this.&nbsp; I think the problem may behow the Execute event is being called.&nbsp; I think that when thecommand bars control calls the Execute&nbsp; event it waits until theevent is done before releasing control to the application.&nbsp; Thisis not noticable when clicking buttons such as the New File, Save,Copy, Paste, etc because they all execute really fast.&nbsp; But if thebutton does something that cannot be executed fast you notice it waitsuntil the process is done before releasing control back to the app.&nbsp;&nbsp; Maybe this is the way it is supposed to act.<br><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Mon, 23 Feb 2004 14:44:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1119&amp;title=commandbar-buttom-speed#1119</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar Buttom Speed : I&amp;#039;ve had other 3rd party...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1118&amp;title=commandbar-buttom-speed#1118</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 459<br /><strong>Posted:</strong> 23 February 2004 at 2:27pm<br /><br /><P>I've had other 3rd party controls that act similar to this. In other cases, it has been when they are triggering an even (such as Execute) on mouseUp rather than mouseDown of the control. Not to say that's the case here...</P><P>It would be nice to get feedback from some of the other users on the forum about this.</P><P>SuperMario: Do you have to wait at all between button clicks?</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 23 Feb 2004 14:27:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=459&amp;PID=1118&amp;title=commandbar-buttom-speed#1118</guid>
  </item> 
 </channel>
</rss>