<?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 : Reload Menus from Resource</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Reload Menus from Resource]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 22:33:44 +0000</pubDate>
  <lastBuildDate>Fri, 11 Feb 2005 14:43:02 +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=1780</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[Reload Menus from Resource : Thank You! It works perfectly. Mark...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5095&amp;title=reload-menus-from-resource#5095</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=984">msherman</a><br /><strong>Subject:</strong> 1780<br /><strong>Posted:</strong> 11 February 2005 at 2:43pm<br /><br /><P>Thank You! It works perfectly.</P><P>Mark</P>]]>
   </description>
   <pubDate>Fri, 11 Feb 2005 14:43:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5095&amp;title=reload-menus-from-resource#5095</guid>
  </item> 
  <item>
   <title><![CDATA[Reload Menus from Resource : Use  CMenu menu;menu.LoadMenu...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5094&amp;title=reload-menus-from-resource#5094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1780<br /><strong>Posted:</strong> 11 February 2005 at 1:27pm<br /><br /><P>Use </P><P>CMenu menu;<BR>menu.LoadMenu(nIDResource);<BR>pMenuBar-&gt;LoadMenu(&amp;menu);<BR></P>]]>
   </description>
   <pubDate>Fri, 11 Feb 2005 13:27:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5094&amp;title=reload-menus-from-resource#5094</guid>
  </item> 
  <item>
   <title><![CDATA[Reload Menus from Resource : On a potentially tangential topic,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5092&amp;title=reload-menus-from-resource#5092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=984">msherman</a><br /><strong>Subject:</strong> 1780<br /><strong>Posted:</strong> 11 February 2005 at 12:52pm<br /><br /><P>On a potentially tangential topic, what does CXTPMenuBar::LoadMenuBar() do? I called it passing in the resource id for the menu I would like to refresh and it seems to have successfully reset the menu to its state as defined in the resource file. However I also got an assert in xtpmenubar.cpp line 508.</P><P>Thanks</P><P>Mark</P>]]>
   </description>
   <pubDate>Fri, 11 Feb 2005 12:52:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5092&amp;title=reload-menus-from-resource#5092</guid>
  </item> 
  <item>
   <title><![CDATA[Reload Menus from Resource :  Hmm, in the next release you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5091&amp;title=reload-menus-from-resource#5091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1780<br /><strong>Posted:</strong> 11 February 2005 at 12:07pm<br /><br />Hmm, in the next release you can save you layout to an XML file.&nbsp;You could then save a "default" layout of your menus as you wantthem.&nbsp; Then you would simply load the "default" menu.&nbsp; Allcan be done programmatically.&nbsp; New release should be out nextweek.&nbsp; Currently you can load and save with XCB files, but youhave to create the menuin the Designer Studio.&nbsp; So unless someoneelse has a better solution I would suggest waiting until the nextrelease for the XML file functionality.<span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Fri, 11 Feb 2005 12:07:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5091&amp;title=reload-menus-from-resource#5091</guid>
  </item> 
  <item>
   <title><![CDATA[Reload Menus from Resource : Thanks for the very fast reply!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5090&amp;title=reload-menus-from-resource#5090</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=984">msherman</a><br /><strong>Subject:</strong> 1780<br /><strong>Posted:</strong> 11 February 2005 at 11:49am<br /><br /><P>Thanks for the very fast reply! Is there a way to launch a refresh programmatically and not just when the user selects the refresh menu item? Also it appears that the reset feature you mention calls CXTPToolBar::Reset(). I would like to run the same type of functionality on a CXTPMenuBar but however the overridden method Reset() is private in that class. </P><P>Thanks</P><P>Mark</P>]]>
   </description>
   <pubDate>Fri, 11 Feb 2005 11:49:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5090&amp;title=reload-menus-from-resource#5090</guid>
  </item> 
  <item>
   <title><![CDATA[Reload Menus from Resource : Yes there is. By default all toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5089&amp;title=reload-menus-from-resource#5089</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1780<br /><strong>Posted:</strong> 11 February 2005 at 11:37am<br /><br />Yes there is.&nbsp; By default all toolbar have a "Reset" button toreset to there original configuration.&nbsp; I think you need to enablecustomization (There is a post on here somewhere that tells how).<br><br><img src="uploads/SuperMario/2005-02-11_113646_Untitled-2.gif" border="0"><br>]]>
   </description>
   <pubDate>Fri, 11 Feb 2005 11:37:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5089&amp;title=reload-menus-from-resource#5089</guid>
  </item> 
  <item>
   <title><![CDATA[Reload Menus from Resource : Hello, Using CXTPCommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5086&amp;title=reload-menus-from-resource#5086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=984">msherman</a><br /><strong>Subject:</strong> 1780<br /><strong>Posted:</strong> 11 February 2005 at 11:20am<br /><br /><P>Hello,</P><P>Using CXTPCommandBars I call SetMenu and pass in the resource ID. It works wonderfully well, the menus are created. However I would like to provide the ability for users to refresh their menus, after they have configured them, to their original state as they are defined in the resource file. Is there a way to do this?</P><P>Thanks</P><P>Mark</P>]]>
   </description>
   <pubDate>Fri, 11 Feb 2005 11:20:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1780&amp;PID=5086&amp;title=reload-menus-from-resource#5086</guid>
  </item> 
 </channel>
</rss>