<?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 : Command Bars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Command Bars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 20:08:19 +0000</pubDate>
  <lastBuildDate>Tue, 14 Sep 2010 16:11:28 +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=16892</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[Command Bars :  Right, further info on this......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60196&amp;title=command-bars#60196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 16892<br /><strong>Posted:</strong> 14 September 2010 at 4:11pm<br /><br />Right, further info on this... <br><br>The GetActiveDocumentID event fires with a CommandBars Control, but not with the CommandBarsFrame Control... what's going on?!!?? The same happens if I stick the CommandBars Control in a picturebox on an MDI form.... very strange..<br>]]>
   </description>
   <pubDate>Tue, 14 Sep 2010 16:11:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60196&amp;title=command-bars#60196</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars :  Oo... think I&amp;#039;ve discovered...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60185&amp;title=command-bars#60185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 16892<br /><strong>Posted:</strong> 14 September 2010 at 9:02am<br /><br />Oo... think I've discovered the obscure reason for the automatic menus after seeing this bit of code...<br><br>Private Sub CommandBars_GetActiveDocumentID(Id As Long)<br>&nbsp;&nbsp;&nbsp; If Not ActiveForm Is Nothing Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Id = ActiveForm.HelpContextID<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>Changing that ID on the document form no longer displays the correct menu, think that's the business! Please CJ, mention this in comments somewhere on the example for other noobs like me to understand <img src="http://forum.codejock.com/smileys/smiley36.gif" border="0" align="absmiddle"><br><br>EDIT: Scrap that... I've done this but it still didn't work <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Tue, 14 Sep 2010 09:02:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60185&amp;title=command-bars#60185</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : Apologies shipwreck, that&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60174&amp;title=command-bars#60174</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 16892<br /><strong>Posted:</strong> 14 September 2010 at 5:04am<br /><br />Apologies shipwreck, that's actually the one I was looking at and not the Ribbon One.. d'oh! So, nope it doesn't help me :(<br><br>I am able to switch the menu and set the MDI client property of the CommandBar control to be the hWd of the form i'm displaying but I'm not too sure how to switch back to the active commandbar when I close the form <img src="http://forum.codejock.com/smileys/smiley6.gif" border="0" align="absmiddle"> ... in saying that though, the MDI Sample doesn't even need to do that so I'm missing something obvious! The only different thing to the MDI Sample that I am using is that I have a CommandBarsFrame control instead of the CommandBars control, and thats mainly to preserve the docking of my OutlookBar (it's not CJ) on the right pane. Think this may have a bearing on things?<br><br>Thanks <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Tue, 14 Sep 2010 05:04:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60174&amp;title=command-bars#60174</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : I don&amp;#039;t think the Ribbon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60173&amp;title=command-bars#60173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 16892<br /><strong>Posted:</strong> 13 September 2010 at 9:02pm<br /><br />I don't think the Ribbon MDI sample has what your looking for.<br /><br />There is another sample simply entitled "MDI Sample" that uses the more traditional menubar/tor rather than the ribbon. It may also explain better. let me know if that helps. :&#093;]]>
   </description>
   <pubDate>Mon, 13 Sep 2010 21:02:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60173&amp;title=command-bars#60173</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : Hi there,I&amp;#039;m trying to follow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60172&amp;title=command-bars#60172</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 16892<br /><strong>Posted:</strong> 13 September 2010 at 5:19pm<br /><br />Hi there,<br><br>I'm trying to follow the sample, but can't seem to find out how to enable the relevant MDI menu when I open the relevant form. Am I missing something really obvious on the form that enables the MDI menu when the first document is opened?<br><br>Thanks,<br><br>Hemesh<br>]]>
   </description>
   <pubDate>Mon, 13 Sep 2010 17:19:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=60172&amp;title=command-bars#60172</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : I think you have all needed sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=59172&amp;title=command-bars#59172</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5186">Squale</a><br /><strong>Subject:</strong> 16892<br /><strong>Posted:</strong> 01 July 2010 at 2:51am<br /><br />I think you have all needed sample in "Ribbon MDI Sample". <br>"Edit" menu is activated only if document is open.<br>"Cut" only if document open and text selected.<br>]]>
   </description>
   <pubDate>Thu, 01 Jul 2010 02:51:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=59172&amp;title=command-bars#59172</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : Hi Everyone,I would like to have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=59154&amp;title=command-bars#59154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1632">SteveStraley</a><br /><strong>Subject:</strong> 16892<br /><strong>Posted:</strong> 29 June 2010 at 5:07pm<br /><br />Hi Everyone,<br><br>I would like to have some advice.<br><br>I have a commandbar control as the main menu of my application.&nbsp;&nbsp; Actions from that initial commandbar can open other windows within an MDI application.&nbsp; As each new window is activated (or as the user bounces from open window (document) to the next) I would like the main menu/commandbar to dynamically change.<br><br>Are there examples of that on here or in the samples or does someone have an idea as to the best approach to take for this behaviour?<br><br>Thanks in advance,<br><br>Steve<br>]]>
   </description>
   <pubDate>Tue, 29 Jun 2010 17:07:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16892&amp;PID=59154&amp;title=command-bars#59154</guid>
  </item> 
 </channel>
</rss>