<?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 : CXTPRibbonTab::SetColor does not work?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPRibbonTab::SetColor does not work?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 13:26:02 +0000</pubDate>
  <lastBuildDate>Tue, 25 Jan 2011 07:31:56 +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=17795</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[CXTPRibbonTab::SetColor does not work? : Hello,You can only use standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17795&amp;PID=62300&amp;title=cxtpribbontabsetcolor-does-not-work#62300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17795<br /><strong>Posted:</strong> 25 January 2011 at 7:31am<br /><br />Hello,<div><br></div><div>You can only use standard colors from Office -&nbsp;</div><div>pRibbonBar-&gt;<b>SetContextColor&nbsp;</b></div><div>and</div><div><br></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorNone, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Default color</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorBlue, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Blue context color</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorYellow, &nbsp; &nbsp; &nbsp; &nbsp; // Yellow context color</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorGreen, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Green context color</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorRed, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Red context color</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorPurple, &nbsp; &nbsp; &nbsp; &nbsp; // Purple context color</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorCyan, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Cyan context color</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>xtpRibbonTabContextColorOrange &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Orange context color</div></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 25 Jan 2011 07:31:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17795&amp;PID=62300&amp;title=cxtpribbontabsetcolor-does-not-work#62300</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPRibbonTab::SetColor does not work? : is this a known issue or am i...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17795&amp;PID=62249&amp;title=cxtpribbontabsetcolor-does-not-work#62249</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6184">radiumangel</a><br /><strong>Subject:</strong> 17795<br /><strong>Posted:</strong> 19 January 2011 at 5:55am<br /><br />is this a known issue or am i doing anything wrong?<br><br>all i do is<br><br>COLORREF col = RGB(255,0,0);<br>pRibbonTab-&gt;SetColor(col);<br><br>but nothing happens.<br>i also called GetColor() before and after setting the color. when it is called the first time GetColor() returns 0x000000ff after setting it and something else before (some gray value). after the first call it returns 0x000000ff before setting the new color again, just as expected. i also called RedrawControl() but that doesn't change a thing.<br><br>using v13.4 of XTP.<br><br>hope anyone can help.<br>]]>
   </description>
   <pubDate>Wed, 19 Jan 2011 05:55:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17795&amp;PID=62249&amp;title=cxtpribbontabsetcolor-does-not-work#62249</guid>
  </item> 
 </channel>
</rss>