<?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 : bug in designer (w/ fix)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : bug in designer (w/ fix)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 10 Apr 2026 04:03:10 +0000</pubDate>
  <lastBuildDate>Thu, 03 Jun 2004 00:58:29 +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=795</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[bug in designer (w/ fix) : Added ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2122&amp;title=bug-in-designer-w-fix#2122</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 03 June 2004 at 12:58am<br /><br />Added]]>
   </description>
   <pubDate>Thu, 03 Jun 2004 00:58:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2122&amp;title=bug-in-designer-w-fix#2122</guid>
  </item> 
  <item>
   <title><![CDATA[bug in designer (w/ fix) :  Can a fix like this go into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2113&amp;title=bug-in-designer-w-fix#2113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 02 June 2004 at 10:16am<br /><br /><br>Can a fix like this go into the next version? I added XTP_ID_FILE_MRUto my copy and recompiled and it works fine now, I can create a MRUmenu via the designer editor and it works, but only with thismodification.<br><br>]]>
   </description>
   <pubDate>Wed, 02 Jun 2004 10:16:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2113&amp;title=bug-in-designer-w-fix#2113</guid>
  </item> 
  <item>
   <title><![CDATA[bug in designer (w/ fix) :  I think it causes an infinite...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2078&amp;title=bug-in-designer-w-fix#2078</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 29 May 2004 at 10:44am<br /><br /><br>I think it causes an infinite recursion sinceCXTPControlRecentFileList::OnCalcDynamicSize calls CXTPControls::Add toadd with ID_FILE_MRU_FILE1 - 16 <br><br>I would propse then XTP_ID_FILE_MRU (35003) and adding:<br>else if (nId == XTP_ID_FILE_MRU) pControl = (CXTPControl*)CXTPControlRecentFileList::CreateObject();<br><br>would probably let you actually create the MRU menu item via the designer editor.<br>]]>
   </description>
   <pubDate>Sat, 29 May 2004 10:44:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2078&amp;title=bug-in-designer-w-fix#2078</guid>
  </item> 
  <item>
   <title><![CDATA[bug in designer (w/ fix) :   Creating a new menu item wih...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2077&amp;title=bug-in-designer-w-fix#2077</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 795<br /><strong>Posted:</strong> 29 May 2004 at 2:14am<br /><br /><br>Creating a new menu item wih ID 57616 should result in a special MRUcontrol, but it won't because in CXTPControls::Add in XTPControls.cppthe code does not match the code found in CXTPControls::AddMenuItem<br><br>AddMenuItem has:<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (nID == XTP_ID_WINDOWLIST) pControl =(CXTPControl*)CXTPControlWindowList::CreateObject();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if (nID == XTP_ID_WORKSPACE_ACTIONS) pControl  =(CXTPControl*)CXTPControlWorkspaceActions::CreateObject() ;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if (nID == ID_VIEW_TOOLBAR) pControl =(CXTPControl*)CXTPControlToolbars::CreateObject();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if (nID == ID_OLE_VERB_FIRST &amp;&amp;strCaption == _T("&lt;&lt;OLE VERBS GO HERE&gt;&gt;")) pControl =(CXTPControl*)CXTPControlOleItems::CreateObject();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else if (nID == ID_FILE_MRU_FILE1) pControl =(CXTPControl*)CXTPControlRecentFileList::CreateObject();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else pControl =(CXTPControl*)CXTPControlButton::CreateObject();<br><br>but Add only has:<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (nId ==XTP_ID_WINDOWLIST) pControl =(CXTPControl*)CXTPControlWindowList::CreateObject();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else if (nId== XTP_ID_WORKSPACE_ACTIONS) pControl  =(CXTPControl*)CXTPControlWorkspaceActions::CreateObject() ;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else if (nId== ID_VIEW_TOOLBAR) pControl =(CXTPControl*)CXTPControlToolbars::CreateObject();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pControl = (CXTPControl*)CXTPControlButton::CreateObject();<br><br>so copying the basic code regarding ID_FILE_MRU_FILE1 should fix this problem.<br><br>well, its sort of a fix, since it causes the app to lock up when you click on the File menu after that...<br><span style="font-size:10px"><br /><br />Edited by Ark42</span>]]>
   </description>
   <pubDate>Sat, 29 May 2004 02:14:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=795&amp;PID=2077&amp;title=bug-in-designer-w-fix#2077</guid>
  </item> 
 </channel>
</rss>