<?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 : Copy don&#039;t work anymore in 11.2.0!!!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Copy don&#039;t work anymore in 11.2.0!!!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 19:42:03 +0000</pubDate>
  <lastBuildDate>Wed, 31 Oct 2007 14:10:06 +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=8626</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[Copy don&#039;t work anymore in 11.2.0!!! : Hello,  Thanks, I see your point....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8626&amp;PID=27967&amp;title=copy-dont-work-anymore-in-11-2-0#27967</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8626<br /><strong>Posted:</strong> 31 October 2007 at 2:10pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Thanks, I see your point. </DIV><DIV>&nbsp;</DIV><DIV>Please replace these lines as</DIV><DIV>&nbsp;</DIV><DIV>from</DIV><DIV>&nbsp;ASSERT(m_pParent);<BR>&nbsp;if (GetRibbonBar() != ((CXTPRibbonGroupControlPopup*)pControl)-&gt;GetRibbonBar())<BR></DIV><DIV>to</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;if (m_pParent &amp;&amp; pControl-&gt;GetParent() &amp;&amp; GetRibbonBar() != ((CXTPRibbonGroupControlPopup*)pControl)-&gt;GetRibbonBar())<BR></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 31 Oct 2007 14:10:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8626&amp;PID=27967&amp;title=copy-dont-work-anymore-in-11-2-0#27967</guid>
  </item> 
  <item>
   <title><![CDATA[Copy don&#039;t work anymore in 11.2.0!!! : Hello Codejock-Team,   we build...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8626&amp;PID=27959&amp;title=copy-dont-work-anymore-in-11-2-0#27959</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 8626<br /><strong>Posted:</strong> 31 October 2007 at 12:15pm<br /><br />Hello Codejock-Team, <DIV>&nbsp;</DIV><DIV>we build our ribbonbar dynamically and it works until 11.1.3.</DIV><DIV>&nbsp;</DIV><DIV>Today we change the library to 11.2.0 and have the following problem:</DIV><DIV>&nbsp;</DIV><DIV>After creating a ribbon group</DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode">CXTPRibbonGroup* pGroup = ribbonTab.AddGroup( IDS_RIBBON_GROUP_SERVER );</pre></td></tr></table></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I add a copy of&nbsp;this group&nbsp;for&nbsp;displaying&nbsp;it in customize dialog box&nbsp;later (if called).</FONT></DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode"><FONT color=#0000ff>if</FONT> (!customizeDialog.AddClone( pGroup-&gt;GetControlGroupPopup() ))</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp; <FONT color=#0000ff>return</FONT> <FONT color=#0000ff>false</FONT>;</pre></td></tr></table></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>This code calls</FONT></DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode">CXTPControls::AddClone</pre></td></tr></table></FONT></DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode">CXTPRibbonGroupControlPopup::Copy</pre></td></tr></table></FONT></DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode">CXTPControlButton::Copy</pre></td></tr></table></FONT></DIV><DIV><FONT size=2><table width="99%"><tr><td><pre class="BBcode">CXTPControl::Copy</pre></td></tr></table></FONT></DIV><DIV><FONT size=2></FONT></DIV><P><FONT size=2>This method copy all member attributes except m_Parent. This make sense and works like in 11.1.3.</P><DIV>After copying, following <strong>new</strong> code will be execute in <FONT size=2>CXTPRibbonGroupControlPopup:</FONT></DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV><strong><FONT size=2>ASSERT(m_pParent);<BR></FONT><FONT color=#0000ff size=2>if</FONT></strong><FONT size=2><strong> (GetRibbonBar() != ((CXTPRibbonGroupControlPopup*)pControl)-&gt;GetRibbonBar())<BR></strong></FONT><FONT size=2><strong>{<BR></strong></FONT><FONT size=2><strong>&nbsp;&nbsp; m_pPopupGroup = GetRibbonBar()-&gt;FindGroup(GetID());<BR></strong></FONT><FONT size=2><strong>}<BR></strong></FONT><FONT color=#0000ff size=2><strong>else<BR></strong></FONT><FONT size=2><strong>{<BR></strong></FONT><FONT size=2>&nbsp;&nbsp; m_pPopupGroup = ((CXTPRibbonGroupControlPopup*)pControl)-&gt;m_pPopupGroup;<BR></FONT><FONT size=2><strong>}</strong></FONT></DIV><DIV></pre></td></tr></table><FONT size=2></DIV></FONT><DIV>&nbsp;</DIV><DIV>Of course the ASSERT fails and GetRibbonBar(), too (because it also access to&nbsp;m_Parent).</DIV><DIV>When is m_Parent set??? It never possible, isn't it?</DIV><DIV>&nbsp;</DIV><DIV>We like to release our update next week. Is it possible to get an fix or should we go back to 11.1.3?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 31 Oct 2007 12:15:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8626&amp;PID=27959&amp;title=copy-dont-work-anymore-in-11-2-0#27959</guid>
  </item> 
 </channel>
</rss>