<?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 : System button dblclick not working on MDIChild</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : System button dblclick not working on MDIChild]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 05:09:51 +0000</pubDate>
  <lastBuildDate>Wed, 24 Jun 2009 10:15:30 +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=14602</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[System button dblclick not working on MDIChild : Sorry, I&amp;#039;m not sure what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14602&amp;PID=50265&amp;title=system-button-dblclick-not-working-on-mdichild#50265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4583">garyhenson</a><br /><strong>Subject:</strong> 14602<br /><strong>Posted:</strong> 24 June 2009 at 10:15am<br /><br />Sorry, I'm not sure what you mean. <DIV>I&nbsp;catch the cbTitle_Execute event (cbTitle si the ribbon bar that has the large round System button) but it does not catch a double click. It catches the events for the button items I've added ('Save', 'Save and Close' and 'Discard and Close' in my case) but not a double click.</DIV><DIV>&nbsp;</DIV><DIV>Here's how I create the ribbon bar and System button:</DIV><DIV>... in form load...</DIV><DIV>&nbsp;&nbsp;&nbsp; ConfigureMdiChildEditorRibbonBar cmdbars.AddRibbonBar("Title"), bShowRibbonBarQuickAccess</DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>Private Sub ConfigureMdiChildEditorRibbonBar( _<BR>&nbsp;&nbsp;&nbsp; ByVal rb As XtremeCommandBars.RibbonBar, _<BR>&nbsp;&nbsp;&nbsp; ByVal bShowQuickAccess _<BR>)<BR>&nbsp;&nbsp;&nbsp; With rb<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AllowMinimize = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableDocking XtremeCommandBars.XTPToolBarFlags.xtpFlagStretched<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowCaptionAlways = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowGripper = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MinimumVisibleWidth = 100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowQuickAccess = bShowQuickAccess<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddMdiChildEditorSystemButton rb<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableFrameTheme<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .RedrawBar<BR>&nbsp;&nbsp;&nbsp; End With<BR>End Sub<BR></DIV><DIV>Private Sub AddMdiChildEditorSystemButton(ByVal rb As XtremeCommandBars.RibbonBar)<BR>&nbsp;&nbsp;&nbsp; Dim cbp As XtremeCommandBars.CommandBarPopup<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set cbp = rb.AddSystemButton()<BR>&nbsp;&nbsp;&nbsp; With cbp<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CommandBar.SetIconSize 32, 32<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .IconId = ID_TRYGEAR_ICON<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .flags = xtpFlagNoMovable<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp; AddMdiChildEditorSystemButtonButtons cbp<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>' Caller must add BTN_ID_SAVE, BTN_ID_SAVE_AND_CLOSE, and BTN_ID_DISCARD_AND_CLOSE<BR>' to CommandBars' Execute() handler<BR>Private Sub AddMdiChildEditorSystemButtonButtons(ByVal cbp As XtremeCommandBars.CommandBarPopup)<BR>&nbsp;&nbsp;&nbsp; AddSystemButtonButton(cbp, BTN_ID_SAVE, ICON_SAVE, "Save").Enabled = CanSaveObjects()<BR>&nbsp;&nbsp;&nbsp; AddSystemButtonButton(cbp, BTN_ID_SAVE_AND_CLOSE, ICON_SAVE_AND_CLOSE, "Save and Close").Enabled = CanSaveObjects()<BR>&nbsp;&nbsp;&nbsp; AddSystemButtonButton cbp, BTN_ID_DISCARD_AND_CLOSE, ICON_DISCARD_AND_CLOSE, "Discard and Close"<BR>End Sub</DIV><DIV><BR>Heres my ribbon bar event code:</DIV><DIV>Private Sub cbTitle_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)<BR>&nbsp;&nbsp;&nbsp; Select Case Control.id<BR>&nbsp;&nbsp;&nbsp; Case BTN_ID_SAVE, BTN_ID_SAVE_AND_CLOSE, BTN_ID_DISCARD_AND_CLOSE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HandleFileOps Control.id<BR>&nbsp;&nbsp;&nbsp; End Select<BR>End Sub<BR></DIV><DIV>Sorry for the confusion. </DIV>]]>
   </description>
   <pubDate>Wed, 24 Jun 2009 10:15:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14602&amp;PID=50265&amp;title=system-button-dblclick-not-working-on-mdichild#50265</guid>
  </item> 
  <item>
   <title><![CDATA[System button dblclick not working on MDIChild : Hi,  Yes for Child windows Execute...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14602&amp;PID=50255&amp;title=system-button-dblclick-not-working-on-mdichild#50255</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14602<br /><strong>Posted:</strong> 24 June 2009 at 1:40am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Yes for Child windows Execute event is fired instead. Catc it and manually close it.</DIV>]]>
   </description>
   <pubDate>Wed, 24 Jun 2009 01:40:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14602&amp;PID=50255&amp;title=system-button-dblclick-not-working-on-mdichild#50255</guid>
  </item> 
  <item>
   <title><![CDATA[System button dblclick not working on MDIChild : We&amp;#039;veupgraded ourXtreme SuitePro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14602&amp;PID=50236&amp;title=system-button-dblclick-not-working-on-mdichild#50236</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4583">garyhenson</a><br /><strong>Subject:</strong> 14602<br /><strong>Posted:</strong> 23 June 2009 at 1:17pm<br /><br /><P>We've&nbsp;upgraded our&nbsp;Xtreme SuitePro from 10.4.1 to 13. </P><DIV>Our app is an MDI app. It's 'different' than traditional MDI apps in that we add a ribbon bar and System button to the child windows since each window presents the User with a unique set of 'tools' on the ribbon bar.</DIV><DIV>&nbsp;</DIV><DIV>Double clicking on the System button in the MIDParent works correctly, shutting down the app. But double clicking on the System button of the child windows no longer fires the shutdown event. In 10.4.1 this worked.</DIV><DIV>&nbsp;</DIV><DIV>Is there a workaround or a flag I'm not setting?</DIV><DIV>&nbsp;</DIV><DIV>Thanks again for a great product and great support!</DIV>]]>
   </description>
   <pubDate>Tue, 23 Jun 2009 13:17:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14602&amp;PID=50236&amp;title=system-button-dblclick-not-working-on-mdichild#50236</guid>
  </item> 
 </channel>
</rss>