<?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 : MDI menu and toolbar Approach</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : MDI menu and toolbar Approach]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 21:08:46 +0000</pubDate>
  <lastBuildDate>Thu, 24 Aug 2006 14:39:07 +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=4808</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[MDI menu and toolbar Approach : Thanks for the code. I had gotten...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15210&amp;title=mdi-menu-and-toolbar-approach#15210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2231">skemp@docucorp</a><br /><strong>Subject:</strong> 4808<br /><strong>Posted:</strong> 24 August 2006 at 2:39pm<br /><br /><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Thanks for the code.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I had gotten a lot of things going by programmatically adding to the toolbars when initializing the application, but I see some things in you sample that I will go back and revisit.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Right now I am letting the MDI menus switch, but your approach may be better longer term.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I’m still not completely happy with my customization dialog but I will revisit that later.</FONT></P>]]>
   </description>
   <pubDate>Thu, 24 Aug 2006 14:39:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15210&amp;title=mdi-menu-and-toolbar-approach#15210</guid>
  </item> 
  <item>
   <title><![CDATA[MDI menu and toolbar Approach : Thanks. I will take a look at...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15162&amp;title=mdi-menu-and-toolbar-approach#15162</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2231">skemp@docucorp</a><br /><strong>Subject:</strong> 4808<br /><strong>Posted:</strong> 23 August 2006 at 4:55pm<br /><br />Thanks. I will take a look at this.<DIV>&nbsp;</DIV><DIV>SEK</DIV>]]>
   </description>
   <pubDate>Wed, 23 Aug 2006 16:55:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15162&amp;title=mdi-menu-and-toolbar-approach#15162</guid>
  </item> 
  <item>
   <title><![CDATA[MDI menu and toolbar Approach : Hi,  Sample I attached (Documaker.zip...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15160&amp;title=mdi-menu-and-toolbar-approach#15160</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4808<br /><strong>Posted:</strong> 23 August 2006 at 4:45pm<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Sample I attached (<a href="https://support.codejock.com/Attachments/20060822%2D090435%5FDocumaker%2Ezip" target="_blank">Documaker.zip</A> )&nbsp;is prototype for 2 document types and show how to show/hide toolbar, show/hide controls for special template.... </DIV><DIV>&nbsp;</DIV><DIV>Try to open some document types and you will see new controls/toolbars.</DIV>]]>
   </description>
   <pubDate>Wed, 23 Aug 2006 16:45:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15160&amp;title=mdi-menu-and-toolbar-approach#15160</guid>
  </item> 
  <item>
   <title><![CDATA[MDI menu and toolbar Approach : I did get a sample MDI application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15159&amp;title=mdi-menu-and-toolbar-approach#15159</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2231">skemp@docucorp</a><br /><strong>Subject:</strong> 4808<br /><strong>Posted:</strong> 23 August 2006 at 4:04pm<br /><br /><P>I did get a sample MDI application from you at one point, but it did not include examples of what we're asking.</P><DIV>Specifically, we have a large multi-document type application. Just for example, assume one document is an XML tree. One document is a Bitmap Editor. And a third document is a word-processor.&nbsp; (In fact, we have about 9 different document types.) These document managers are all part of the same application and the user can have multiples of each type open at once.</DIV><DIV>&nbsp;</DIV><DIV>Prior to the attempt of moving to your framework, we had this nicely setup where the individual documents only had to declare the portion of the toolbar and menu that was different from the main menu. Then as the user switched between documents, the menu and toolbar would dynamically change (and merge, if necessary) to reflect the appropriate set of options for that document manager selected.</DIV><DIV>&nbsp;</DIV><DIV>In your framework, we're having trouble getting this concept to play especially where the toolbar is concerned.&nbsp; At present, we fallen back to the position of trying to make one all encompasing toolbar and then disable / hide buttons when switching the document types. We were hoping for some better suggestion.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 23 Aug 2006 16:04:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15159&amp;title=mdi-menu-and-toolbar-approach#15159</guid>
  </item> 
  <item>
   <title><![CDATA[MDI menu and toolbar Approach : Hi, Did you receive sample in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15149&amp;title=mdi-menu-and-toolbar-approach#15149</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4808<br /><strong>Posted:</strong> 23 August 2006 at 11:38am<br /><br />Hi,<DIV>Did you receive sample in issue track?</DIV>]]>
   </description>
   <pubDate>Wed, 23 Aug 2006 11:38:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=15149&amp;title=mdi-menu-and-toolbar-approach#15149</guid>
  </item> 
  <item>
   <title><![CDATA[MDI menu and toolbar Approach :  We are a new customer trying...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=14935&amp;title=mdi-menu-and-toolbar-approach#14935</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2231">skemp@docucorp</a><br /><strong>Subject:</strong> 4808<br /><strong>Posted:</strong> 15 August 2006 at 6:30pm<br /><br /><FONT face="Times New Roman" size=3><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt">We are a new customer trying to fit your framework into an existing product and I’d like some advice as to a good approach to take with our toolbars and menus.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Our product is a “Studio” type application that is made up of several DLLS that are loaded dynamically; these DLLs may register one or more document templates with the application.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Each has its own menu and toolbar.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The current system loads and dynamically updates the main menu.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>It loads the main toolbar and it loops through all registered entities and loads their toolbars with the auto-delete style turned on.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>When a document is activated, the appropriate toolbar is shown to the side of the main toolbar.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>So, the docking state of the main toolbar is the only state saved in this current solution, and all the MDI document toolbars just use that state when it is their time to appear.</P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt">With your framework, I have gotten the main menu and the MDI document menus working.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>But I was unsure about a good toolbar approach.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I would really like to provide customization to these menus and toolbars.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>With a quick test of the customization, I was able to add more items by calling AddCategories() with each of my document template’s toolbar ID.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>However, duplicates do appear for each menu added so that approach will need some work if pursued.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt">I was looking at the MDI Menus sample and was considering whether I need to dynamically build an all inclusive menu and toolbar as things are registered.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>It appears that there is an AssignDocTemplate that may be able to be used.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>But I am not sure if it is cumulative, meaning several document templates may be able to be tied to the items.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Additionally, I was not sure if that also would work for toolbars.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Your menu and toolbars do not really map to the MFC controls for them so there is a bit of a learning curve.</P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt">Management is excited about the Ribbon interface they have seen and they will want some sort of move to it sometime down the line.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>My initial approach was to see if I could lay your Framework in and replace some of our own home grown solutions.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>But if it makes sense to consider Ribbons now or take a certain track to make that transition easier, please advise with that too.</P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"></FONT></P>]]>
   </description>
   <pubDate>Tue, 15 Aug 2006 18:30:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4808&amp;PID=14935&amp;title=mdi-menu-and-toolbar-approach#14935</guid>
  </item> 
 </channel>
</rss>