<?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 : Quick access control FindDuplicate fails</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Quick access control FindDuplicate fails]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 12:10:40 +0000</pubDate>
  <lastBuildDate>Sun, 23 Jan 2011 11:10:37 +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=17803</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[Quick access control FindDuplicate fails : The CXTPRibbonQuickAccessControls::FindDuplicate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17803&amp;PID=62275&amp;title=quick-access-control-findduplicate-fails#62275</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 17803<br /><strong>Posted:</strong> 23 January 2011 at 11:10am<br /><br />The <FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>CXTPRibbonQuickAccessControls::FindDuplicate fails to find a control if the control is hidden because of the </FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>xtpHideRibbonTab flag. Should the method not do this in the test:<DIV></DIV><DIV></DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>if</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> (pQuickAccessControl-&gt;GetID() == pControl-&gt;GetID() &amp;&amp; (pQuickAccessControl-&gt;IsVisible(xtpHideWrap) || pQuickAccessControl-&gt;IsVisible(xtpHideRibbonTab ))&nbsp;&amp;&amp;</P><P>pQuickAccessControl-&gt;GetType() == pControl-&gt;GetType() &amp;&amp; pQuickAccessControl-&gt;GetRuntimeClass() == pControl-&gt;GetRuntimeClass())</P><P>{</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>return</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> pQuickAccessControl;</P><P>}</P><DIV></DIV><DIV></DIV>The comment for the hide flag says it is set for an "inactive ribbon". I have an inactive ribbon because I have an MDI application and the user is customizing the layout for a document type that is not the same as the active document (I don't even have that doc type open). Hence when the user adds a control to the QAT, IsAllowQuickAccessControl always returns TRUE for an inactive ribbon.<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>I can customize the ribbon without showing it. Is there some other way to customize a QAT layout of a ribbon without being forced to show the ribbon on the frame?</DIV></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Sun, 23 Jan 2011 11:10:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17803&amp;PID=62275&amp;title=quick-access-control-findduplicate-fails#62275</guid>
  </item> 
 </channel>
</rss>