<?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 : Problem in Customize dialog Menu reset?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Problem in Customize dialog Menu reset?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 05:58:48 +0000</pubDate>
  <lastBuildDate>Fri, 05 Oct 2007 06:42:53 +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=8310</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[Problem in Customize dialog Menu reset? : Hi Oleg,  It works fine. Thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8310&amp;PID=26988&amp;title=problem-in-customize-dialog-menu-reset#26988</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2969">Ashok</a><br /><strong>Subject:</strong> 8310<br /><strong>Posted:</strong> 05 October 2007 at 6:42am<br /><br />Hi Oleg,<DIV>&nbsp; It works fine. Thanks a lot.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 06:42:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8310&amp;PID=26988&amp;title=problem-in-customize-dialog-menu-reset#26988</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in Customize dialog Menu reset? : Hi,  After you create dynamic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8310&amp;PID=26957&amp;title=problem-in-customize-dialog-menu-reset#26957</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8310<br /><strong>Posted:</strong> 05 October 2007 at 2:27am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>After you create dynamic controls call</DIV><DIV>&nbsp;</DIV><DIV>pMenuBar-&gt;GetControls()-&gt;CreateOriginalControls()</DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 02:27:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8310&amp;PID=26957&amp;title=problem-in-customize-dialog-menu-reset#26957</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in Customize dialog Menu reset? : Hi,  I doing the code for the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8310&amp;PID=26955&amp;title=problem-in-customize-dialog-menu-reset#26955</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2969">Ashok</a><br /><strong>Subject:</strong> 8310<br /><strong>Posted:</strong> 05 October 2007 at 1:32am<br /><br />Hi,<DIV>&nbsp; I doing the code for the menu like this</DIV><DIV><FONT color=#008000 size=2><P>// Add the menu bar</P></FONT><FONT size=2><P>CXTPCommandBar* pMenuBar = pCommandBars-&gt;SetMenu(_T(</FONT><FONT color=#800000 size=2>"Menu Bar"</FONT><FONT size=2>), IDR_MAINFRAME);</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(pMenuBar == NULL)</P><P>{</P><P>TRACE0(</FONT><FONT color=#800000 size=2>"Failed to create menu bar.\n"</FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1; </FONT><FONT color=#008000 size=2>// fail to create</P></FONT><FONT size=2><P>}</P><DIV></DIV>Then I am loading my dynamic menu into the menu bar, some where in the code. But the problem is when I reset the menu through the customize dialog(reset button), it displays only the old menu( means its deleted my dynamic menu and it displays the IDR_MAINFRAME content). How I can restore my dynamic menu even if&nbsp; I press the reset button in the customize dialog. Please help with code.</FONT></DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 01:32:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8310&amp;PID=26955&amp;title=problem-in-customize-dialog-menu-reset#26955</guid>
  </item> 
 </channel>
</rss>