<?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 : CXTPC&#111;ntrolPopupColor questi&#111;n</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPC&#111;ntrolPopupColor questi&#111;n]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:39:53 +0000</pubDate>
  <lastBuildDate>Thu, 20 Oct 2016 04:30:11 +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=776</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[CXTPC&#111;ntrolPopupColor questi&#111;n : I commented this out in thecheck...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75236&amp;title=cxtpcontrolpopupcolor-question#75236</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 776<br /><strong>Posted:</strong> 20 October 2016 at 4:30am<br /><br />I commented this out in the&nbsp;check in the CXTPControlGallery&nbsp;source code and now my code works perfectly.<div><br></div><div>I can now use a "Ribbon" gallery component in a popup context menu.&nbsp;<br><div><br></div><div><img src="uploads/686/XTToolkit_Color_Popup_Fix.png" height="206" width="448" border="0" /><br></div></div><div><br></div><div>I'm using this&nbsp;CXTPPopupBar:</div><div><div><table width="99%"><tr><td><pre class="BBcode">CXTPPopupBar *pPopupBar = CXTPPopupBar::CreatePopupBar(pPopupBar-&gt;GetCommandBars());</pre></td></tr></table></div><div>instead of the&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode">CXTPPopupBar* pPopupBar = CXTPControlComboBoxGalleryPopupBar::CreateComboBoxGalleryPopupBar(pPopupBar-&gt;GetCommandBars());</pre></td></tr></table></div></div><div><br></div><div>So why this check in CXTPControlGallery ?</div><div><br></div><div>-cpede</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 20 Oct 2016 04:30:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75236&amp;title=cxtpcontrolpopupcolor-question#75236</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolPopupColor questi&#111;n : I can see the reason is this code: void...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75224&amp;title=cxtpcontrolpopupcolor-question#75224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 776<br /><strong>Posted:</strong> 18 October 2016 at 1:42pm<br /><br />I can see the reason is this code:<div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>void CXTPControlGallery::OnCalcDynamicSize(DWORD dwMode)</div><div>{</div><div>&nbsp;&nbsp;<b>if (DYNAMIC_DOWNCAST(CXTPControlComboBoxGalleryPopupBar, GetParent()) == 0)</b></div><div><b>&nbsp; {</b></div><div><b>&nbsp; &nbsp; m_nSelected = -1;</b></div><div><b>&nbsp; }</b></div><div>&nbsp; m_bHideSelection = FALSE;</div><div>&nbsp; m_bPressed = FALSE;</div><div><br></div><div>&nbsp; CXTPControlPopup::OnCalcDynamicSize(dwMode);</div><div>}</div></div><div></pre></td></tr></table></div><div><br></div><div>Why is the selection reset when parent is not CXTPControlComboBoxGalleryPopupBar?</div><div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Tue, 18 Oct 2016 13:42:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75224&amp;title=cxtpcontrolpopupcolor-question#75224</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolPopupColor questi&#111;n : OK, to be fair. It is possible...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75220&amp;title=cxtpcontrolpopupcolor-question#75220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 776<br /><strong>Posted:</strong> 18 October 2016 at 11:11am<br /><br />OK, to be fair. It is possible to use CXTPControlGallery in popup menus, and thereby the&nbsp;CXTPControlColorSelector. This is a more flexible control, with methods to specify the colors.<div><br></div><div>However I have one problem. How to set the selected color on start popup of the control.</div><div><br></div><div>Calling&nbsp;SetSelectedItem on the CXTPControlGallery seems not to work if the popup is not already opened?</div><div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Tue, 18 Oct 2016 11:11:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75220&amp;title=cxtpcontrolpopupcolor-question#75220</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolPopupColor questi&#111;n : Maybe here 12 years after the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75217&amp;title=cxtpcontrolpopupcolor-question#75217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 776<br /><strong>Posted:</strong> 18 October 2016 at 9:34am<br /><br />Maybe here 12 years after the request you could make a method for replacing the color array for the&nbsp;CXTPControlColorSelector control.<div><br></div><div>-cpede</div>]]>
   </description>
   <pubDate>Tue, 18 Oct 2016 09:34:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=75217&amp;title=cxtpcontrolpopupcolor-question#75217</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolPopupColor questi&#111;n : Only one suggestion - copy code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=2097&amp;title=cxtpcontrolpopupcolor-question#2097</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 776<br /><strong>Posted:</strong> 01 June 2004 at 3:58am<br /><br />Only one suggestion - copy code from CXTPControlColorSelector to you r project &nbsp;and make changes in extendedColors array.]]>
   </description>
   <pubDate>Tue, 01 Jun 2004 03:58:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=2097&amp;title=cxtpcontrolpopupcolor-question#2097</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPC&#111;ntrolPopupColor questi&#111;n :     Hi, I&amp;#039;m using a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=2039&amp;title=cxtpcontrolpopupcolor-question#2039</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=389">yoavo</a><br /><strong>Subject:</strong> 776<br /><strong>Posted:</strong> 24 May 2004 at 6:07am<br /><br /><TABLE id=HB_Mail_C&#111;ntainer height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0 UNABLE="&#111;n"><T><TR height="100%" UNABLE="&#111;n" width="100%"><TD id=HB_Focus_Element vAlign=top width="100%" background="" height=250 UNABLE="off"><P>Hi,</P><P>I'm using a CXTPControlPopupColor in a toolbar, but I want to change the pallete of the control (I need different colors). How do I set a different set of colors in the control ?</P><P>thanks,Yoav.</P><P>&nbsp;</P></TD></TR><TR UNABLE="&#111;n" hb_tag="1"><TD style="FONT-SIZE: 1pt" height=1 UNABLE="&#111;n"><DIV id=hotbar_promo></DIV></TD></TR></T></TABLE>]]>
   </description>
   <pubDate>Mon, 24 May 2004 06:07:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=776&amp;PID=2039&amp;title=cxtpcontrolpopupcolor-question#2039</guid>
  </item> 
 </channel>
</rss>