<?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 : 2 questions about skin</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : 2 questions about skin]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 18:53:41 +0000</pubDate>
  <lastBuildDate>Wed, 18 Nov 2009 07:44: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=15634</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[2 questions about skin : Hi,  Yes to fix Button issue...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15634&amp;PID=54968&amp;title=2-questions-about-skin#54968</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15634<br /><strong>Posted:</strong> 18 November 2009 at 7:44am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Yes to fix Button issue you need load <FONT color=#a31515>OFFICE2007SILVER.ini before you show it.</FONT></DIV><DIV><FONT color=#a31515></FONT>&nbsp;</DIV><DIV><FONT color=#a31515></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 18 Nov 2009 07:44:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15634&amp;PID=54968&amp;title=2-questions-about-skin#54968</guid>
  </item> 
  <item>
   <title><![CDATA[2 questions about skin : First:  I have a skinned dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15634&amp;PID=54884&amp;title=2-questions-about-skin#54884</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5514">feffe</a><br /><strong>Subject:</strong> 15634<br /><strong>Posted:</strong> 16 November 2009 at 7:03am<br /><br /><DIV>First:</DIV><DIV>&nbsp;</DIV><DIV>I have a skinned dialog (with office2007.cjstyles, normalsilver.ini). If in DoDataExchange I have</DIV><DIV>&nbsp;</DIV><DIV>DDX_CONTROL(pDX, m_myCXTPButton, IDC_MYBUTTON)</DIV><DIV>&nbsp;</DIV><DIV>the skin does not apply to the button.</DIV><DIV>So, if&nbsp;I try to call</DIV><DIV>&nbsp;</DIV><DIV>m_myCXTPButton.SetTheme((XTPButtonTheme)xtpButtonThemeOffice2007);</DIV><DIV>&nbsp;</DIV><DIV>I get the blue version of the button, not the silver that I need. What method should I call?</DIV><DIV><P>Second: Frame skinned&nbsp;with&nbsp;&nbsp;office2007.cjstyles, normalsilver.ini. I use Ribbon Theme.</P><DIV>I found out that I have to call</DIV><P>((CXTPOffice2007Theme*)GetCommandBars()-&gt;GetPaintManager())-&gt;SetImageHandle(hModule, _T(<FONT color=#a31515>"OFFICE2007SILVER.INI"</FONT>));</P><DIV>What's the difference between office2007silver.ini and normalsilver.ini?</DIV><DIV>&nbsp;</DIV><DIV>I also call other methods, for sizing the ribbon and its caption. But I've seen that the ribbon is modified or not</DIV><DIV>depending on where I place these calls; for example, in CMainFrame::OnCreate or in CreateRibbonBar they don't work,</DIV><DIV>probably because other settings are applied later.</DIV><DIV>So, where should I place these calls to make the code correct?</DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 16 Nov 2009 07:03:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15634&amp;PID=54884&amp;title=2-questions-about-skin#54884</guid>
  </item> 
 </channel>
</rss>