<?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 : CXTPControlLabel skinning problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : CXTPControlLabel skinning problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 18:50:35 +0000</pubDate>
  <lastBuildDate>Wed, 18 Jan 2012 14:57:03 +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=19420</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[CXTPControlLabel skinning problem :   Hey folks,I have a command...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19420&amp;PID=67455&amp;title=cxtpcontrollabel-skinning-problem#67455</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4544">mojonez</a><br /><strong>Subject:</strong> 19420<br /><strong>Posted:</strong> 18 January 2012 at 2:57pm<br /><br />Hey folks,<div>&nbsp;</div><div>I have a command bar, created as such:</div><div>&nbsp;</div><div>CXTPPopupBar* pPopupBar = CXTPPopupBar::CreatePopupBar(0);<br>pop-&gt;SetCommandBar(pPopupBar);<br>pControl = pop-&gt;GetCommandBar()-&gt;GetControls()-&gt;Add(new CXTPControlLabel(), 0);<br></div><div>My application uses a custom skin created with the SkinBuilder.&nbsp; The command bar skins correctly.</div><div>&nbsp;</div><div>I would like to set a unique bg color to the&nbsp;CXTPControlLabel,&nbsp;different from the standard button entries, but the theme does not seem to support this.</div><div>&nbsp;</div><div>If i derive my own paint manager from the office theme CXTPOfficeTheme, then I can ovveride the drawpopuplabel, or just set m_arrColor&#091;XPCOLOR_LABEL&#093;, but then them does not respect the rest of the CJ skin i created.</div><div>&nbsp;</div><div><div>If i derive my own paint manager from CXTPNativeXPTheme, then the skin is respected, but there's no hook for intercepting or&nbsp;changing the labels BG color to be different from normal button entries.</div><div>&nbsp;</div><div>Any ideas?</div><div>&nbsp;</div><div>thx</div><div>&nbsp;</div><div>Morgan</div><div>&nbsp;</div></div><div>&nbsp;</div><div>&nbsp;</div><div><font color="#008000" size="2"><font color="#008000" size="2"></font></font>&nbsp;</div><div><font color="#008000" size="2"></font>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 18 Jan 2012 14:57:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19420&amp;PID=67455&amp;title=cxtpcontrollabel-skinning-problem#67455</guid>
  </item> 
 </channel>
</rss>